| Package | Description |
|---|---|
| org.johnnei.javatorrent.internal.utp | |
| org.johnnei.javatorrent.internal.utp.stream |
| Modifier and Type | Method and Description |
|---|---|
Optional<UtpPacket> |
SocketWindowHandler.onReceivedPacket(UtpPacket packet)
Updates the Socket Window based on the received packet.
|
| Modifier and Type | Method and Description |
|---|---|
static UtpSocket |
UtpSocket.createRemoteConnecting(DatagramChannel channel,
UtpPacket synPacket) |
UtpSocket |
UtpSocketRegistry.createSocket(SocketAddress socketAddress,
UtpPacket synPacket) |
void |
SocketTimeoutHandler.onAckedPacket(UtpPacket packet) |
void |
SocketWindowHandler.onPacketLoss(UtpPacket packet) |
void |
PacketLossHandler.onReceivedPacket(UtpPacket packet) |
Optional<UtpPacket> |
SocketWindowHandler.onReceivedPacket(UtpPacket packet)
Updates the Socket Window based on the received packet.
|
void |
PacketSizeHandler.onReceivedPacket(UtpPacket packet) |
void |
SocketDelayHandler.onReceivedPacket(UtpPacket packet) |
void |
UtpSocket.onReceivedPacket(UtpPacket packet)
Updates the socket state based on the received packet.
|
void |
PacketAckHandler.onReceivedPacket(UtpPacket packet)
Processes the acknowledgement in the received packet and potentially marks a packet to be resent.
|
void |
PacketLossHandler.onSentPacket(UtpPacket packet) |
void |
SocketWindowHandler.onSentPacket(UtpPacket packet) |
void |
PacketSizeHandler.onSentPacket(UtpPacket packet) |
void |
UtpSocket.resend(UtpPacket packet)
Submits a packet that has been previously sent but has not arrived on the remote.
|
| Modifier and Type | Method and Description |
|---|---|
UtpPacket |
PacketReader.read(ByteBuffer inStream) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
PacketWriter.write(UtpPacket packet) |
Copyright © 2017. All rights reserved.