public class PacketUdp
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
TTL |
| Constructor and Description |
|---|
PacketUdp(@NotNull java.util.UUID secret,
long timestamp,
@NotNull Packet<?> packet,
@NotNull com.google.common.io.ByteArrayDataInput input) |
| Modifier and Type | Method and Description |
|---|---|
<T extends PacketHandler> |
getPacket() |
public static final int TTL
public PacketUdp(@NotNull
@NotNull java.util.UUID secret,
long timestamp,
@NotNull
@NotNull Packet<?> packet,
@NotNull
@NotNull com.google.common.io.ByteArrayDataInput input)
public <T extends PacketHandler> Packet<T> getPacket() throws java.io.IOException
java.io.IOException