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()
UscSession
getChannel
in interface UscSession
public int getSessionId()
UscSession
getSessionId
in interface UscSession
public int getPort()
UscSession
getPort
in interface UscSession
public io.netty.channel.local.LocalChannel getServerChannel()
Copyright © 2019 OpenDaylight. All rights reserved.