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
IOException
public void close()
Acceptor
public int getPortNumber() throws IOException
IOException
public void free()
ReactorChild
free
in interface ReactorChild
public Record attachments()
attachments
in interface Extendable
Copyright © 2016 The Apache Software Foundation. All rights reserved.