| Modifier and Type | Method and Description |
|---|---|
void |
UtpSocketImpl.process(UtpPacket packet)
Processes the payload of the given
packet and updates the socket state accordingly. |
void |
UtpSocketImpl.sendUnbounded(UtpPacket packet)
Send a packet without honoring the
UtpSocketImpl.window. |
| Modifier and Type | Method and Description |
|---|---|
void |
UtpTimeout.update(int receiveTime,
UtpPacket packet)
Calculates the new timeout based on the round trip time of a packet.
|
void |
UtpWindow.update(UtpPacket packet)
Calculates the new window size based on the given packet.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<UtpPacket> |
UtpAckHandler.onReceivedPacket(UtpPacket receivedPacket)
Event to be called on every packet we receive from the other end.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<UtpPacket> |
UtpAckHandler.onReceivedPacket(UtpPacket receivedPacket)
Event to be called on every packet we receive from the other end.
|
void |
UtpAckHandler.registerPacket(UtpPacket packet)
Registers the we've sent a new packet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SynPayload.process(UtpPacket packet,
UtpSocketImpl socket) |
void |
StatePayload.process(UtpPacket packet,
UtpSocketImpl socket) |
void |
ResetPayload.process(UtpPacket packet,
UtpSocketImpl socket) |
void |
IPayload.process(UtpPacket packet,
UtpSocketImpl socket)
Process the packet.
|
void |
FinPayload.process(UtpPacket packet,
UtpSocketImpl socket) |
void |
DataPayload.process(UtpPacket packet,
UtpSocketImpl socket) |
Copyright © 2016. All rights reserved.