org.jboss.xnio.nio
Class NioUdpServerFactory

java.lang.Object
  extended by org.jboss.xnio.nio.AbstractConfigurable
      extended by org.jboss.xnio.nio.NioUdpServerFactory
All Implemented Interfaces:
Configurable, ConfigurableFactory<BoundServer<java.net.SocketAddress,UdpChannel>>

public final class NioUdpServerFactory
extends AbstractConfigurable
implements ConfigurableFactory<BoundServer<java.net.SocketAddress,UdpChannel>>


Method Summary
 BoundServer<java.net.SocketAddress,UdpChannel> create()
          Create the instance based on the configuration.
 
Methods inherited from class org.jboss.xnio.nio.AbstractConfigurable
getOption, getOptions, setOption
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.xnio.channels.Configurable
getOption, getOptions, setOption
 

Method Detail

create

public BoundServer<java.net.SocketAddress,UdpChannel> create()
                                                      throws java.io.IOException
Description copied from interface: ConfigurableFactory
Create the instance based on the configuration.

Specified by:
create in interface ConfigurableFactory<BoundServer<java.net.SocketAddress,UdpChannel>>
Returns:
the instance
Throws:
java.io.IOException - if an error occurs starting the instance