org.jboss.netty.channel.socket
Interface ClientSocketChannelFactory

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

public interface ClientSocketChannelFactory
extends ChannelFactory

A ChannelFactory which creates a client-side SocketChannel.

Version:
$Rev: 2080 $, $Date: 2010-01-26 18:04:19 +0900 (Tue, 26 Jan 2010) $
Author:
The Netty Project, Trustin Lee

Method Summary
 SocketChannel 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

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-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.