Package org.apache.qpid.proton.reactor
Class Handshaker
java.lang.Object
org.apache.qpid.proton.engine.BaseHandler
org.apache.qpid.proton.reactor.Handshaker
- All Implemented Interfaces:
CoreHandler
,Handler
A handler that mirrors the actions of the remote end of a connection. This
handler responds in kind when the remote end of the connection is opened and
closed. Likewise if the remote end of the connection opens or closes
sessions and links, this handler responds by opening or closing the local end
of the session or link.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onConnectionRemoteClose
(Event event) void
onConnectionRemoteOpen
(Event event) void
onLinkRemoteClose
(Event event) void
onLinkRemoteOpen
(Event event) void
onSessionRemoteClose
(Event event) void
onSessionRemoteOpen
(Event event) Methods inherited from class org.apache.qpid.proton.engine.BaseHandler
add, children, getHandler, getHandler, handle, onConnectionBound, onConnectionFinal, onConnectionInit, onConnectionLocalClose, onConnectionLocalOpen, onConnectionUnbound, onDelivery, onLinkFinal, onLinkFlow, onLinkInit, onLinkLocalClose, onLinkLocalDetach, onLinkLocalOpen, onLinkRemoteDetach, onReactorFinal, onReactorInit, onReactorQuiesced, onSelectableError, onSelectableExpired, onSelectableFinal, onSelectableInit, onSelectableReadable, onSelectableUpdated, onSelectableWritable, onSessionFinal, onSessionInit, onSessionLocalClose, onSessionLocalOpen, onTimerTask, onTransport, onTransportClosed, onTransportError, onTransportHeadClosed, onTransportTailClosed, onUnhandled, setHandler, setHandler
-
Constructor Details
-
Handshaker
public Handshaker()
-
-
Method Details
-
onConnectionRemoteOpen
- Specified by:
onConnectionRemoteOpen
in interfaceCoreHandler
- Overrides:
onConnectionRemoteOpen
in classBaseHandler
-
onSessionRemoteOpen
- Specified by:
onSessionRemoteOpen
in interfaceCoreHandler
- Overrides:
onSessionRemoteOpen
in classBaseHandler
-
onLinkRemoteOpen
- Specified by:
onLinkRemoteOpen
in interfaceCoreHandler
- Overrides:
onLinkRemoteOpen
in classBaseHandler
-
onConnectionRemoteClose
- Specified by:
onConnectionRemoteClose
in interfaceCoreHandler
- Overrides:
onConnectionRemoteClose
in classBaseHandler
-
onSessionRemoteClose
- Specified by:
onSessionRemoteClose
in interfaceCoreHandler
- Overrides:
onSessionRemoteClose
in classBaseHandler
-
onLinkRemoteClose
- Specified by:
onLinkRemoteClose
in interfaceCoreHandler
- Overrides:
onLinkRemoteClose
in classBaseHandler
-