protected class NioManagerDispatchThread.AcceptRegistry extends Object
Modifier and Type | Class and Description |
---|---|
protected class |
NioManagerDispatchThread.AcceptRegistry.Entry
A container class for information on bound
ServerSocket s. |
Modifier | Constructor and Description |
---|---|
protected |
NioManagerDispatchThread.AcceptRegistry()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Set<InetSocketAddress> |
getAddresses()
Gets the bound addresses.
|
protected NioManagerDispatchThread.AcceptRegistry.Entry |
register(NioConnection conn,
InetSocketAddress address)
Registers a connection.
|
protected void |
removePending(NioConnection conn)
Removes a pending accept.
|
protected NioManagerDispatchThread.AcceptRegistry()
protected NioManagerDispatchThread.AcceptRegistry.Entry register(NioConnection conn, InetSocketAddress address) throws IOException
IOException
- when something goes awry.protected void removePending(NioConnection conn)
protected Set<InetSocketAddress> getAddresses()