public class UscChannelImpl extends UscSessionManager implements UscChannel
UscChannel.ChannelType| Constructor and Description |
|---|
UscChannelImpl(UscPlugin plugin,
UscDevice device,
io.netty.channel.Channel channel,
boolean isCallHome,
UscChannel.ChannelType type)
Constructs a new UscChannelImpl.
|
| Modifier and Type | Method and Description |
|---|---|
protected UscSessionImpl |
createSession(int sessionId,
int port,
io.netty.channel.local.LocalChannel channel) |
io.netty.channel.Channel |
getChannel() |
UscDevice |
getDevice()
The device to which the USC channel is established.
|
UscChannel.ChannelType |
getType()
The type of USC channel.
|
boolean |
isCallHome()
Whether this USC channel was established using the Call Home mechanism.
|
addSession, getAllSessions, getSession, getSessionCount, removeAllSessions, removeSessionpublic UscChannelImpl(UscPlugin plugin, UscDevice device, io.netty.channel.Channel channel, boolean isCallHome, UscChannel.ChannelType type)
plugin - device - channel - isCallHome - type - protected UscSessionImpl createSession(int sessionId, int port, io.netty.channel.local.LocalChannel channel)
createSession in class UscSessionManagerpublic UscDevice getDevice()
UscChannelgetDevice in interface UscChannelpublic io.netty.channel.Channel getChannel()
public boolean isCallHome()
UscChannelisCallHome in interface UscChannelpublic UscChannel.ChannelType getType()
UscChannelgetType in interface UscChannelCopyright © 2019 OpenDaylight. All rights reserved.