public class AcceptorImpl extends Object implements Acceptor
| 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 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 © 2016 The Apache Software Foundation. All Rights Reserved.