org.jboss.xnio
Interface TcpAcceptor
- All Superinterfaces:
- Acceptor<java.net.SocketAddress,TcpChannel>
- All Known Subinterfaces:
- CloseableTcpAcceptor
- All Known Implementing Classes:
- NioTcpAcceptor
public interface TcpAcceptor
- extends Acceptor<java.net.SocketAddress,TcpChannel>
An acceptor specifically for accepting connections from a TCP client.
- Since:
- 1.2
createChannelDestination
TcpChannelDestination createChannelDestination(java.net.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<java.net.SocketAddress,TcpChannel>
- Parameters:
dest
- the destination address
- Returns:
- a channel destination instance