public class UtpWindow extends Object
| Constructor and Description |
|---|
UtpWindow(UtpSocketImpl socket)
Creates a new window manager.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSize() |
void |
onTimeout()
Event to be called when a timeout occurs on
socket. |
void |
update(UtpPacket packet)
Calculates the new window size based on the given packet.
|
public UtpWindow(UtpSocketImpl socket)
socket - The socket for which the window is managed.Copyright © 2016. All rights reserved.