XNIO version 1.2.0.GA

org.jboss.xnio
Interface TcpChannelSource

All Superinterfaces:
ChannelSource<TcpChannel>
All Known Subinterfaces:
CloseableTcpChannelSource

public interface TcpChannelSource
extends ChannelSource<TcpChannel>

A channel source specifically for connecting to TCP remote servers.


Method Summary
 FutureConnection<SocketAddress,TcpChannel> open(IoHandler<? super TcpChannel> handler)
          Open a channel.
 

Method Detail

open

FutureConnection<SocketAddress,TcpChannel> open(IoHandler<? super TcpChannel> handler)
Open a channel.

Specified by:
open in interface ChannelSource<TcpChannel>
Parameters:
handler - the handler for this channel
Returns:
the future result of this operation

XNIO version 1.2.0.GA

Copyright © 2008 JBoss, a division of Red Hat, Inc.