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, length
public 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()
UscFrame
getPayload
in class UscFrame
Copyright © 2019 OpenDaylight. All rights reserved.