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 TypeMethodDescriptionvoid
children()
static Handler
getHandler
(Extendable ext) static Handler
getHandler
(Record r) void
Handle the event in this instance.void
void
void
void
void
void
void
void
void
onDelivery
(Event e) void
onLinkFinal
(Event e) void
onLinkFlow
(Event e) void
onLinkInit
(Event e) void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
onTimerTask
(Event e) void
onTransport
(Event e) void
void
void
void
void
onUnhandled
(Event event) static void
setHandler
(Extendable ext, Handler handler) static void
setHandler
(Record r, Handler handler)
-
Constructor Details
-
BaseHandler
public BaseHandler()
-
-
Method Details
-
getHandler
-
setHandler
-
getHandler
-
setHandler
-
onConnectionInit
- Specified by:
onConnectionInit
in interfaceCoreHandler
-
onConnectionLocalOpen
- Specified by:
onConnectionLocalOpen
in interfaceCoreHandler
-
onConnectionRemoteOpen
- Specified by:
onConnectionRemoteOpen
in interfaceCoreHandler
-
onConnectionLocalClose
- Specified by:
onConnectionLocalClose
in interfaceCoreHandler
-
onConnectionRemoteClose
- Specified by:
onConnectionRemoteClose
in interfaceCoreHandler
-
onConnectionBound
- Specified by:
onConnectionBound
in interfaceCoreHandler
-
onConnectionUnbound
- Specified by:
onConnectionUnbound
in interfaceCoreHandler
-
onConnectionFinal
- Specified by:
onConnectionFinal
in interfaceCoreHandler
-
onSessionInit
- Specified by:
onSessionInit
in interfaceCoreHandler
-
onSessionLocalOpen
- Specified by:
onSessionLocalOpen
in interfaceCoreHandler
-
onSessionRemoteOpen
- Specified by:
onSessionRemoteOpen
in interfaceCoreHandler
-
onSessionLocalClose
- Specified by:
onSessionLocalClose
in interfaceCoreHandler
-
onSessionRemoteClose
- Specified by:
onSessionRemoteClose
in interfaceCoreHandler
-
onSessionFinal
- Specified by:
onSessionFinal
in interfaceCoreHandler
-
onLinkInit
- Specified by:
onLinkInit
in interfaceCoreHandler
-
onLinkLocalOpen
- Specified by:
onLinkLocalOpen
in interfaceCoreHandler
-
onLinkRemoteOpen
- Specified by:
onLinkRemoteOpen
in interfaceCoreHandler
-
onLinkLocalDetach
- Specified by:
onLinkLocalDetach
in interfaceCoreHandler
-
onLinkRemoteDetach
- Specified by:
onLinkRemoteDetach
in interfaceCoreHandler
-
onLinkLocalClose
- Specified by:
onLinkLocalClose
in interfaceCoreHandler
-
onLinkRemoteClose
- Specified by:
onLinkRemoteClose
in interfaceCoreHandler
-
onLinkFlow
- Specified by:
onLinkFlow
in interfaceCoreHandler
-
onLinkFinal
- Specified by:
onLinkFinal
in interfaceCoreHandler
-
onDelivery
- Specified by:
onDelivery
in interfaceCoreHandler
-
onTransport
- Specified by:
onTransport
in interfaceCoreHandler
-
onTransportError
- Specified by:
onTransportError
in interfaceCoreHandler
-
onTransportHeadClosed
- Specified by:
onTransportHeadClosed
in interfaceCoreHandler
-
onTransportTailClosed
- Specified by:
onTransportTailClosed
in interfaceCoreHandler
-
onTransportClosed
- Specified by:
onTransportClosed
in interfaceCoreHandler
-
onReactorInit
- Specified by:
onReactorInit
in interfaceCoreHandler
-
onReactorQuiesced
- Specified by:
onReactorQuiesced
in interfaceCoreHandler
-
onReactorFinal
- Specified by:
onReactorFinal
in interfaceCoreHandler
-
onTimerTask
- Specified by:
onTimerTask
in interfaceCoreHandler
-
onSelectableInit
- Specified by:
onSelectableInit
in interfaceCoreHandler
-
onSelectableUpdated
- Specified by:
onSelectableUpdated
in interfaceCoreHandler
-
onSelectableReadable
- Specified by:
onSelectableReadable
in interfaceCoreHandler
-
onSelectableWritable
- Specified by:
onSelectableWritable
in interfaceCoreHandler
-
onSelectableExpired
- Specified by:
onSelectableExpired
in interfaceCoreHandler
-
onSelectableError
- Specified by:
onSelectableError
in interfaceCoreHandler
-
onSelectableFinal
- Specified by:
onSelectableFinal
in interfaceCoreHandler
-
onUnhandled
- Specified by:
onUnhandled
in interfaceHandler
-
add
-
children
-
handle
Description copied from interface:Handler
Handle 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 theEventType
of 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)
-