XNIO version 1.2.1.GA

org.jboss.xnio
Interface TcpAcceptor

All Superinterfaces:
Acceptor<SocketAddress,TcpChannel>
All Known Subinterfaces:
CloseableTcpAcceptor

public interface TcpAcceptor
extends Acceptor<SocketAddress,TcpChannel>

An acceptor specifically for accepting connections from a TCP client.

Since:
1.2

Method Summary
 TcpChannelDestination createChannelDestination(SocketAddress dest)
          Create a channel destination for this acceptor, which always uses a specific destination address.
 
Methods inherited from interface org.jboss.xnio.Acceptor
acceptTo
 

Method Detail

createChannelDestination

TcpChannelDestination createChannelDestination(SocketAddress dest)
Create a channel destination for this acceptor, which always uses a specific destination address. If a wildcard address is specified, then a destination address is chosen in a manner specific to the OS and/or channel type for each accept operation.

Specified by:
createChannelDestination in interface Acceptor<SocketAddress,TcpChannel>
Parameters:
dest - the destination address
Returns:
a channel destination instance

XNIO version 1.2.1.GA

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