public class AcceptorImpl extends java.lang.Object implements Acceptor
| Modifier and Type | Class and Description |
|---|---|
private class |
AcceptorImpl.AcceptorFree |
private class |
AcceptorImpl.AcceptorReadable |
| Modifier and Type | Field and Description |
|---|---|
private Record |
attachments |
private SelectableImpl |
sel |
| Modifier | Constructor and Description |
|---|---|
protected |
AcceptorImpl(Reactor reactor,
java.lang.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() |
private Record attachments
private final SelectableImpl sel
public void close()
Acceptorpublic int getPortNumber()
throws java.io.IOException
java.io.IOExceptionpublic void free()
ReactorChildfree in interface ReactorChildpublic Record attachments()
attachments in interface Extendable