public interface Payload
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData() |
PacketType |
getType() |
void |
onReceivedPayload(UtpHeader header,
UtpSocket socket)
Updates the socket state based on the received payload (this instance).
|
void onReceivedPayload(UtpHeader header, UtpSocket socket)
header - The header which was sent along with this payload.socket - The socket which received the payload.byte[] getData()
PacketType getType()
Copyright © 2017. All rights reserved.