public class UscData extends UscFrame
| Constructor and Description |
|---|
UscData(int port,
int sessionId,
io.netty.buffer.ByteBuf payload)
Constructs a new UscData
|
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBuf |
getPayload()
To be implemented by subclasses to return the payload as a ByteBuf.
|
String |
toString() |
getFromByteBuf, getHeader, lengthpublic UscData(int port,
int sessionId,
io.netty.buffer.ByteBuf payload)
port - the port number of the service on the devicesessionId - the session IDpayload - the raw byte stream payloadpublic io.netty.buffer.ByteBuf getPayload()
UscFramegetPayload in class UscFrameCopyright © 2019 OpenDaylight. All rights reserved.