public class StatePayload extends DatalessPayload
| Constructor and Description |
|---|
StatePayload() |
| Modifier and Type | Method and Description |
|---|---|
PacketType |
getType() |
void |
onReceivedPayload(UtpHeader header,
UtpSocket socket)
Updates the socket state based on the received payload (this instance).
|
getDatapublic void onReceivedPayload(UtpHeader header, UtpSocket socket)
Payloadheader - The header which was sent along with this payload.socket - The socket which received the payload.public PacketType getType()
Copyright © 2017. All rights reserved.