Class AcceptorImpl
java.lang.Object
org.apache.qpid.proton.reactor.impl.AcceptorImpl
- All Implemented Interfaces:
Extendable
,Acceptor
,ReactorChild
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AcceptorImpl
(Reactor reactor, String host, int port, Handler handler) -
Method Summary
-
Field Details
-
CONNECTION_ACCEPTOR_KEY
- See Also:
-
-
Constructor Details
-
AcceptorImpl
- Throws:
IOException
-
-
Method Details
-
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
- Throws:
IOException
-
free
public void free()Description copied from interface:ReactorChild
Frees any resources associated with this child.- Specified by:
free
in interfaceReactorChild
-
attachments
- Specified by:
attachments
in interfaceExtendable
-