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, removeSession
public 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 UscSessionManager
public UscDevice getDevice()
UscChannel
getDevice
in interface UscChannel
public io.netty.channel.Channel getChannel()
public boolean isCallHome()
UscChannel
isCallHome
in interface UscChannel
public UscChannel.ChannelType getType()
UscChannel
getType
in interface UscChannel
Copyright © 2019 OpenDaylight. All rights reserved.