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.AbstractChannel |
getGravityChannel() |
int |
getServerPort() |
int |
write(byte[] data) |
int |
write(byte[] data,
int offset,
int length) |
static final int MAX_PACKET_SIZE
org.granite.gravity.AbstractChannel getGravityChannel()
SocketAddress getClientAddress()
int getServerPort()
int write(byte[] data) throws IOException
IOExceptionint write(byte[] data, int offset, int length) throws IOException
IOExceptionvoid close()