Class AcceptorImpl
- java.lang.Object
-
- org.apache.qpid.proton.reactor.impl.AcceptorImpl
-
- All Implemented Interfaces:
Extendable
,Acceptor
,ReactorChild
public class AcceptorImpl extends java.lang.Object implements Acceptor
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
CONNECTION_ACCEPTOR_KEY
-
Constructor Summary
Constructors Modifier Constructor Description protected
AcceptorImpl(Reactor reactor, java.lang.String host, int port, Handler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
CONNECTION_ACCEPTOR_KEY
protected static final java.lang.String CONNECTION_ACCEPTOR_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
close
public void close()
Description copied from interface:Acceptor
Closes the acceptor, stopping it accepting any further in-bound connections. Already accepted connections continue to be processed by the associated reactor.
-
getPortNumber
public int getPortNumber() throws java.io.IOException
- Throws:
java.io.IOException
-
free
public void free()
Description copied from interface:ReactorChild
Frees any resources associated with this child.- Specified by:
free
in interfaceReactorChild
-
attachments
public Record attachments()
- Specified by:
attachments
in interfaceExtendable
-
-