public interface UdpChannel
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_PACKET_SIZE |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.net.SocketAddress |
getClientAddress() |
org.granite.gravity.GravityInternal |
getGravity() |
int |
getServerPort() |
int |
write(byte[] data) |
int |
write(byte[] data,
int offset,
int length) |
static final int MAX_PACKET_SIZE
org.granite.gravity.GravityInternal getGravity()
java.net.SocketAddress getClientAddress()
int getServerPort()
int write(byte[] data)
throws java.io.IOException
java.io.IOExceptionint write(byte[] data,
int offset,
int length)
throws java.io.IOException
java.io.IOExceptionvoid close()