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.StringCONNECTION_ACCEPTOR_KEY
-
Constructor Summary
Constructors Modifier Constructor Description protectedAcceptorImpl(Reactor reactor, java.lang.String host, int port, Handler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Recordattachments()voidclose()Closes the acceptor, stopping it accepting any further in-bound connections.voidfree()Frees any resources associated with this child.intgetPortNumber()
-
-
-
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:AcceptorCloses 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:ReactorChildFrees any resources associated with this child.- Specified by:
freein interfaceReactorChild
-
attachments
public Record attachments()
- Specified by:
attachmentsin interfaceExtendable
-
-