| Package | Description |
|---|---|
| org.johnnei.javatorrent.internal.network.socket | |
| org.johnnei.javatorrent.internal.utp.protocol | |
| org.johnnei.javatorrent.internal.utp.protocol.payload |
| Modifier and Type | Method and Description |
|---|---|
void |
UtpSocketImpl.send(IPayload payload)
Writes the given payload with respect to the
UtpSocketImpl.window. |
| Constructor and Description |
|---|
UtpPacket(UtpSocketImpl socket,
IPayload payload)
Creates a new UtpPacket which will be send.
|
UtpPacket(UtpSocketImpl socket,
IPayload payload,
boolean isSynResponse)
Creates a new UtpPacket which will be send.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEmptyPayload
Most types defined in
UtpProtocol don't contain any payload bytes. |
class |
DataPayload
Data payload which provides the actual application layer data.
|
class |
FinPayload
Payload which indicates that this packet is the final packet in terms of sequence number.
|
class |
ResetPayload
Created by johnn on 23/04/2016.
|
class |
StatePayload
The state message which indicated that a previous packet has correctly been received.
|
class |
SynPayload
The payload which indicates that a connection wants to be established.
|
| Modifier and Type | Method and Description |
|---|---|
IPayload |
UtpPayloadFactory.createPayloadFromType(int type)
Creates a new instance for the given
type |
Copyright © 2016. All rights reserved.