org.jboss.xnio
Interface UdpServer
- All Superinterfaces:
- BoundServer<InetSocketAddress,UdpChannel>, Channel, Closeable, CloseableChannel, Configurable
public interface UdpServer
- extends BoundServer<InetSocketAddress,UdpChannel>
A UDP server convenience interface.
getBindSetter
ChannelListener.Setter<? extends UdpChannel> getBindSetter()
- Get the bind listener setter for this channel. The listener is called every time a channel is bound.
- Specified by:
getBindSetter in interface BoundServer<InetSocketAddress,UdpChannel>
- Returns:
- the listener setter
getCloseSetter
ChannelListener.Setter<? extends UdpServer> getCloseSetter()
- Get the setter which can be used to change the close listener for this channel. If the channel is already
closed, then the listener will not be called.
- Specified by:
getCloseSetter in interface BoundServer<InetSocketAddress,UdpChannel>- Specified by:
getCloseSetter in interface CloseableChannel
- Returns:
- the setter
Copyright © 2010 JBoss, a division of Red Hat, Inc.