org.jboss.netty.channel.socket
Interface DatagramChannelFactory

All Superinterfaces:
ChannelFactory, ExternalResourceReleasable
All Known Implementing Classes:
NioDatagramChannelFactory, OioDatagramChannelFactory

public interface DatagramChannelFactory
extends ChannelFactory

A ChannelFactory which creates a DatagramChannel.

Version:
$Rev: 1685 $, $Date: 2009-08-28 16:15:49 +0900 (금, 28 8 2009) $
Author:
The Netty Project (netty-dev@lists.jboss.org), Trustin Lee (tlee@redhat.com)

Method Summary
 DatagramChannel newChannel(ChannelPipeline pipeline)
          Creates and opens a new Channel and attaches the specified ChannelPipeline to the new Channel.
 
Methods inherited from interface org.jboss.netty.channel.ChannelFactory
releaseExternalResources
 

Method Detail

newChannel

DatagramChannel newChannel(ChannelPipeline pipeline)
Description copied from interface: ChannelFactory
Creates and opens a new Channel and attaches the specified ChannelPipeline to the new Channel.

Specified by:
newChannel in interface ChannelFactory
Parameters:
pipeline - the ChannelPipeline which is going to be attached to the new Channel
Returns:
the newly open channel


Copyright © 2008-2009 JBoss, by Red Hat. All Rights Reserved.