public class AcceptorImpl extends java.lang.Object implements Acceptor
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
CONNECTION_ACCEPTOR_KEY |
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() |
protected static final java.lang.String CONNECTION_ACCEPTOR_KEY
public void close()
Acceptor
public int getPortNumber() throws java.io.IOException
java.io.IOException
public void free()
ReactorChild
free
in interface ReactorChild
public Record attachments()
attachments
in interface Extendable