org.jboss.netty.channel.socket
Interface ClientSocketChannelFactory

All Superinterfaces:
ChannelFactory
All Known Implementing Classes:
NioClientSocketChannelFactory, OioClientSocketChannelFactory

public interface ClientSocketChannelFactory
extends ChannelFactory

A ChannelFactory which creates a client-side SocketChannel.

Version:
$Rev: 212 $, $Date: 2008-09-03 14:13:47 +0900 (Wed, 03 Sep 2008) $
Author:
The Netty Project (netty-dev@lists.jboss.org), Trustin Lee (tlee@redhat.com)

Method Summary
 SocketChannel newChannel(ChannelPipeline pipeline)
          Creates and opens a new Channel and attaches the specified ChannelPipeline to the new Channel.
 

Method Detail

newChannel

SocketChannel 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-Present JBoss - a division of Red Hat. All Rights Reserved.