org.granite.gravity.udp
Class AbstractUdpChannel
java.lang.Object
org.granite.gravity.udp.AbstractUdpChannel
- All Implemented Interfaces:
- UdpChannel
- Direct Known Subclasses:
- UdpIOChannel, UdpNIOChannel
public abstract class AbstractUdpChannel
- extends Object
- implements UdpChannel
- Author:
- Franck WOLFF
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
channelFactory
protected UdpChannelFactory channelFactory
gravityChannel
protected org.granite.gravity.AbstractChannel gravityChannel
address
protected InetSocketAddress address
AbstractUdpChannel
public AbstractUdpChannel(UdpChannelFactory channelFactory,
org.granite.gravity.AbstractChannel gravityChannel,
InetSocketAddress address)
getGravityChannel
public org.granite.gravity.AbstractChannel getGravityChannel()
- Specified by:
getGravityChannel in interface UdpChannel
write
public int write(byte[] data)
throws IOException
- Specified by:
write in interface UdpChannel
- Throws:
IOException
close
public void close()
- Specified by:
close in interface UdpChannel