public interface UdpChannel
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_PACKET_SIZE |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
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()
SocketAddress getClientAddress()
int getServerPort()
int write(byte[] data)
throws IOException
IOExceptionint write(byte[] data,
int offset,
int length)
throws IOException
IOExceptionvoid close()