public class UscSessionImpl extends Object implements UscSession
| Constructor and Description |
|---|
UscSessionImpl(UscChannelImpl connection,
int sessionId,
int port,
io.netty.channel.local.LocalChannel serverChannel)
Constructs a new UscSessionImpl
|
| Modifier and Type | Method and Description |
|---|---|
UscChannelImpl |
getChannel()
The physical USC channel that this session's traffic is traveling over.
|
int |
getPort()
The port number of the service on the device.
|
io.netty.channel.local.LocalChannel |
getServerChannel()
Returns the server channel
|
int |
getSessionId()
The session ID corresponding to this session.
|
public UscSessionImpl(UscChannelImpl connection, int sessionId, int port, io.netty.channel.local.LocalChannel serverChannel)
connection - sessionId - port - serverChannel - public UscChannelImpl getChannel()
UscSessiongetChannel in interface UscSessionpublic int getSessionId()
UscSessiongetSessionId in interface UscSessionpublic int getPort()
UscSessiongetPort in interface UscSessionpublic io.netty.channel.local.LocalChannel getServerChannel()
Copyright © 2019 OpenDaylight. All rights reserved.