XNIO API 2.0.0.GA

org.jboss.xnio
Interface TcpChannelSource

All Superinterfaces:
ChannelSource<TcpChannel>

public interface TcpChannelSource
extends ChannelSource<TcpChannel>

A channel source specifically for connecting to TCP remote servers.


Method Summary
 IoFuture<TcpChannel> open(ChannelListener<? super TcpChannel> openListener)
          Open a channel.
 

Method Detail

open

IoFuture<TcpChannel> open(ChannelListener<? super TcpChannel> openListener)
Open a channel.

Specified by:
open in interface ChannelSource<TcpChannel>
Parameters:
openListener - the handler which will be notified when the channel is open
Returns:
the future result of this operation

XNIO API 2.0.0.GA

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