XNIO API 2.1.0.CR2

org.jboss.xnio
Interface TcpAcceptor

All Superinterfaces:
Acceptor<InetSocketAddress,TcpChannel>

public interface TcpAcceptor
extends Acceptor<InetSocketAddress,TcpChannel>

An acceptor specifically for accepting connections from a TCP client.

Since:
1.2

Method Summary
 TcpChannelDestination createChannelDestination(InetSocketAddress 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(InetSocketAddress 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<InetSocketAddress,TcpChannel>
Parameters:
dest - the destination address
Returns:
a channel destination instance

XNIO API 2.1.0.CR2

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