Package org.jboss.netty.channel.socket
Interface DatagramChannelFactory
-
- All Superinterfaces:
ChannelFactory,ExternalResourceReleasable
- All Known Implementing Classes:
NioDatagramChannelFactory,OioDatagramChannelFactory
public interface DatagramChannelFactory extends ChannelFactory
AChannelFactorywhich creates aDatagramChannel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DatagramChannelnewChannel(ChannelPipeline pipeline)-
Methods inherited from interface org.jboss.netty.channel.ChannelFactory
releaseExternalResources, shutdown
-
-
-
-
Method Detail
-
newChannel
DatagramChannel newChannel(ChannelPipeline pipeline)
Description copied from interface:ChannelFactory- Specified by:
newChannelin interfaceChannelFactory- Parameters:
pipeline- theChannelPipelinewhich is going to be attached to the newChannel- Returns:
- the newly open channel
-
-