public class UscRoutedRemoteSessionManager extends Object
Constructor and Description |
---|
UscRoutedRemoteSessionManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
addEntry(UscRouteIdentifierData data)
add a new entry of remote session for returning the response which is
back from agent
|
akka.actor.ActorRef |
getActorRef(UscRouteIdentifier localRouteId)
get call back actor by local route identifier
|
io.netty.channel.Channel |
getAgentChannel(UscRouteIdentifier localRouteId)
get agent channel by the local route identifier for sending request to
agent channel
|
UscRouteIdentifier |
getLocalRouteIdentifier(UscRouteIdentifier remoteRouteId)
get local route identifier from remote route identifier
|
UscRouteIdentifier |
getRemoteRouteIdentifier(UscRouteIdentifier localRouteId)
get remote route identifier by the local route identifier
|
boolean |
isRemoteSession(UscRouteIdentifier localRouteId)
check if this message is the response message for any remote request
|
public boolean isRemoteSession(UscRouteIdentifier localRouteId)
localRouteId
- public boolean addEntry(UscRouteIdentifierData data)
data
- the related data of a route identifierpublic UscRouteIdentifier getRemoteRouteIdentifier(UscRouteIdentifier localRouteId)
localRouteId
- local route identifierpublic akka.actor.ActorRef getActorRef(UscRouteIdentifier localRouteId)
localRouteId
- local route identifierpublic io.netty.channel.Channel getAgentChannel(UscRouteIdentifier localRouteId)
localRouteId
- local route identifierpublic UscRouteIdentifier getLocalRouteIdentifier(UscRouteIdentifier remoteRouteId)
remoteRouteId
- remote route identifierCopyright © 2019 OpenDaylight. All rights reserved.