| Modifier and Type | Method and Description |
|---|---|
UtpSocketImpl |
UtpSocketImpl.Builder.build() |
UtpSocketImpl |
UtpSocketImpl.Builder.build(short connectionId) |
| Constructor and Description |
|---|
UtpSocket(UtpMultiplexer utpMultiplexer,
UtpSocketImpl socket)
Creates a new socket based on a received connection.
|
| Modifier and Type | Method and Description |
|---|---|
UtpSocketImpl |
UtpSocketRegistration.getSocket() |
| Constructor and Description |
|---|
UtpSocketRegistration(UtpSocketImpl socket,
ScheduledFuture<?> pollingTask)
Creates a new registration of a
UtpSocketImpl. |
UtpWindow(UtpSocketImpl socket)
Creates a new window manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UtpMultiplexer.cleanUpSocket(UtpSocketImpl socket)
Frees up the connection id used by the given UtpSocket and stops the polling for timeouts.
|
void |
UtpPacket.processPayload(UtpSocketImpl socket)
Processes the payload information.
|
boolean |
UtpMultiplexer.registerSocket(UtpSocketImpl socket)
Attempts to register the given socket.
|
byte[] |
UtpPacket.repackage(UtpSocketImpl socket)
Modifies this packet to become half the size of the original size.
|
void |
UtpPacket.write(UtpSocketImpl socket,
OutStream outStream)
Writes the packet including the payload.
|
| Constructor and Description |
|---|
UtpAckHandler(UtpSocketImpl socket)
Creates a new Utp Acknowledgement handler.
|
UtpInputStream(UtpSocketImpl socket,
short initialSequenceNumber)
Creates a new inputstream for the given socket.
|
UtpOutputStream(UtpSocketImpl socket)
Creates a new outputstream for the given socket.
|
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 | 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.