public class StatePayload extends AbstractEmptyPayload
| Constructor and Description |
|---|
StatePayload() |
| Modifier and Type | Method and Description |
|---|---|
byte |
getType()
Gets the type of this payload as defined in
UtpProtocol |
void |
process(UtpPacket packet,
UtpSocketImpl socket)
Process the packet.
|
String |
toString() |
getSize, read, writepublic byte getType()
IPayloadUtpProtocolpublic void process(UtpPacket packet, UtpSocketImpl socket)
IPayloadpacket - The packet header associated to this payload.socket - The socket which received the packet.Copyright © 2016. All rights reserved.