org.granite.gravity.udp
Interface UdpChannel
- All Known Implementing Classes:
- AbstractUdpChannel, UdpIOChannel, UdpNIOChannel
public interface UdpChannel
- Author:
- Franck WOLFF
MAX_PACKET_SIZE
static final int MAX_PACKET_SIZE
- See Also:
- Constant Field Values
getGravityChannel
org.granite.gravity.AbstractChannel getGravityChannel()
getClientAddress
SocketAddress getClientAddress()
getServerPort
int getServerPort()
write
int write(byte[] data)
throws IOException
- Throws:
IOException
write
int write(byte[] data,
int offset,
int length)
throws IOException
- Throws:
IOException
close
void close()