Package org.apache.qpid.proton.engine
Interface Handler
- All Known Subinterfaces:
CoreHandler
- All Known Implementing Classes:
BaseHandler,FlowController,Handshaker,IOHandler
public interface Handler
Handler
-
Method Summary
-
Method Details
-
handle
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'sonUnhandled(Event)method if theEventTypeof the event is not recognized by the handler.Note: The handler is not supposed to invoke the
handle(Event)method on it'schildren(), that is the responsibility of theEvent.dispatch(Handler)- Parameters:
e- The event to handle- See Also:
-
onUnhandled
-
add
-
children
-