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.
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
Copyright © 2008 JBoss, a division of Red Hat, Inc.