public class AcceptorImpl extends Object implements Acceptor
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CONNECTION_ACCEPTOR_KEY |
| Modifier | Constructor and Description |
|---|---|
protected |
AcceptorImpl(Reactor reactor,
String host,
int port,
Handler handler) |
| Modifier and Type | Method and Description |
|---|---|
Record |
attachments() |
void |
close()
Closes the acceptor, stopping it accepting any further in-bound
connections.
|
void |
free()
Frees any resources associated with this child.
|
int |
getPortNumber() |
protected static final String CONNECTION_ACCEPTOR_KEY
protected AcceptorImpl(Reactor reactor, String host, int port, Handler handler) throws IOException
IOExceptionpublic void close()
Acceptorpublic int getPortNumber()
throws IOException
IOExceptionpublic void free()
ReactorChildfree in interface ReactorChildpublic Record attachments()
attachments in interface ExtendableCopyright © 2020 The Apache Software Foundation. All rights reserved.