public class UscRoutedLocalSessionManager extends Object
| Constructor and Description |
|---|
UscRoutedLocalSessionManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(UscRouteIdentifier localRouteId,
io.netty.channel.local.LocalChannel serverChannel)
add a entry of local route identifier and server local channel for
sending response to request caller like Netconf plug-in
|
io.netty.channel.local.LocalChannel |
getServerChannel(UscRouteIdentifier localRouteId)
get the server channel of particular local route identifier
|
boolean |
isRemoteMessage(UscRouteIdentifier localRouteId)
check if it is a route identifier of remote communication
|
void |
removeAll(UscRemoteChannelIdentifier remoteChannel)
remove remote channel related all local sessions
|
void |
removeEntry(UscRouteIdentifier localRouteId)
remove a entry of local route identifier for the session closed
|
public boolean isRemoteMessage(UscRouteIdentifier localRouteId)
localRouteId - public void addEntry(UscRouteIdentifier localRouteId, io.netty.channel.local.LocalChannel serverChannel)
localRouteId - serverChannel - public void removeEntry(UscRouteIdentifier localRouteId)
localRouteId - public io.netty.channel.local.LocalChannel getServerChannel(UscRouteIdentifier localRouteId)
localRouteId - local route identifierpublic void removeAll(UscRemoteChannelIdentifier remoteChannel)
remoteChannel - remote channel identifierCopyright © 2019 OpenDaylight. All rights reserved.