Package org.apache.qpid.proton.engine
Class BaseHandler
java.lang.Object
org.apache.qpid.proton.engine.BaseHandler
- All Implemented Interfaces:
CoreHandler,Handler
- Direct Known Subclasses:
FlowController,Handshaker,IOHandler
BaseHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchildren()static HandlergetHandler(Extendable ext) static HandlergetHandler(Record r) voidHandle the event in this instance.voidvoidvoidvoidvoidvoidvoidvoidvoidonDelivery(Event e) voidonLinkFinal(Event e) voidonLinkFlow(Event e) voidonLinkInit(Event e) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidonTimerTask(Event e) voidonTransport(Event e) voidvoidvoidvoidvoidonUnhandled(Event event) static voidsetHandler(Extendable ext, Handler handler) static voidsetHandler(Record r, Handler handler)
-
Constructor Details
-
BaseHandler
public BaseHandler()
-
-
Method Details
-
getHandler
-
setHandler
-
getHandler
-
setHandler
-
onConnectionInit
- Specified by:
onConnectionInitin interfaceCoreHandler
-
onConnectionLocalOpen
- Specified by:
onConnectionLocalOpenin interfaceCoreHandler
-
onConnectionRemoteOpen
- Specified by:
onConnectionRemoteOpenin interfaceCoreHandler
-
onConnectionLocalClose
- Specified by:
onConnectionLocalClosein interfaceCoreHandler
-
onConnectionRemoteClose
- Specified by:
onConnectionRemoteClosein interfaceCoreHandler
-
onConnectionBound
- Specified by:
onConnectionBoundin interfaceCoreHandler
-
onConnectionUnbound
- Specified by:
onConnectionUnboundin interfaceCoreHandler
-
onConnectionFinal
- Specified by:
onConnectionFinalin interfaceCoreHandler
-
onSessionInit
- Specified by:
onSessionInitin interfaceCoreHandler
-
onSessionLocalOpen
- Specified by:
onSessionLocalOpenin interfaceCoreHandler
-
onSessionRemoteOpen
- Specified by:
onSessionRemoteOpenin interfaceCoreHandler
-
onSessionLocalClose
- Specified by:
onSessionLocalClosein interfaceCoreHandler
-
onSessionRemoteClose
- Specified by:
onSessionRemoteClosein interfaceCoreHandler
-
onSessionFinal
- Specified by:
onSessionFinalin interfaceCoreHandler
-
onLinkInit
- Specified by:
onLinkInitin interfaceCoreHandler
-
onLinkLocalOpen
- Specified by:
onLinkLocalOpenin interfaceCoreHandler
-
onLinkRemoteOpen
- Specified by:
onLinkRemoteOpenin interfaceCoreHandler
-
onLinkLocalDetach
- Specified by:
onLinkLocalDetachin interfaceCoreHandler
-
onLinkRemoteDetach
- Specified by:
onLinkRemoteDetachin interfaceCoreHandler
-
onLinkLocalClose
- Specified by:
onLinkLocalClosein interfaceCoreHandler
-
onLinkRemoteClose
- Specified by:
onLinkRemoteClosein interfaceCoreHandler
-
onLinkFlow
- Specified by:
onLinkFlowin interfaceCoreHandler
-
onLinkFinal
- Specified by:
onLinkFinalin interfaceCoreHandler
-
onDelivery
- Specified by:
onDeliveryin interfaceCoreHandler
-
onTransport
- Specified by:
onTransportin interfaceCoreHandler
-
onTransportError
- Specified by:
onTransportErrorin interfaceCoreHandler
-
onTransportHeadClosed
- Specified by:
onTransportHeadClosedin interfaceCoreHandler
-
onTransportTailClosed
- Specified by:
onTransportTailClosedin interfaceCoreHandler
-
onTransportClosed
- Specified by:
onTransportClosedin interfaceCoreHandler
-
onReactorInit
- Specified by:
onReactorInitin interfaceCoreHandler
-
onReactorQuiesced
- Specified by:
onReactorQuiescedin interfaceCoreHandler
-
onReactorFinal
- Specified by:
onReactorFinalin interfaceCoreHandler
-
onTimerTask
- Specified by:
onTimerTaskin interfaceCoreHandler
-
onSelectableInit
- Specified by:
onSelectableInitin interfaceCoreHandler
-
onSelectableUpdated
- Specified by:
onSelectableUpdatedin interfaceCoreHandler
-
onSelectableReadable
- Specified by:
onSelectableReadablein interfaceCoreHandler
-
onSelectableWritable
- Specified by:
onSelectableWritablein interfaceCoreHandler
-
onSelectableExpired
- Specified by:
onSelectableExpiredin interfaceCoreHandler
-
onSelectableError
- Specified by:
onSelectableErrorin interfaceCoreHandler
-
onSelectableFinal
- Specified by:
onSelectableFinalin interfaceCoreHandler
-
onUnhandled
- Specified by:
onUnhandledin interfaceHandler
-
add
-
children
-
handle
Description copied from interface:HandlerHandle the event in this instance. This is the second half ofEvent.dispatch(Handler). The method must invoke a concrete onXxx method for the given event, or invoke it'sHandler.onUnhandled(Event)method if theEventTypeof the event is not recognized by the handler.Note: The handler is not supposed to invoke the
Handler.handle(Event)method on it'sHandler.children(), that is the responsibility of theEvent.dispatch(Handler)
-