Uses of Interface
org.apache.qpid.protonj2.engine.EngineHandlerContext
Package
Description
-
Uses of EngineHandlerContext in org.apache.qpid.protonj2.engine
Modifier and TypeMethodDescriptiondefault void
EngineHandler.engineFailed
(EngineHandlerContext context, EngineFailedException failure) Called when the engine has transitioned to a failed state and cannot process any additional input or output.default void
EngineHandler.engineStarting
(EngineHandlerContext context) Called when the engine is started to allow handlers to prepare for use based on the configuration state at start of the engine.default void
EngineHandler.handleEngineStateChanged
(EngineHandlerContext context) Called when the engine state has changed and handlers may need to update their internal state to respond to the change or prompt some new work based on the change, e.g state changes from not writable to writable.default void
EngineHandler.handlerAdded
(EngineHandlerContext context) Called when the handler is successfully added to theEnginePipeline
and will later be initialized before use.default void
EngineHandler.handleRead
(EngineHandlerContext context, ProtonBuffer buffer) Handle the read of new incoming bytes from a remote sender.default void
EngineHandler.handleRead
(EngineHandlerContext context, HeaderEnvelope header) Handle the receipt of an incoming AMQP Header or SASL Header based on the current state of this handler.default void
EngineHandler.handleRead
(EngineHandlerContext context, IncomingAMQPEnvelope envelope) Handle the receipt of an incoming AMQP envelope based on the current state of this handler.default void
EngineHandler.handleRead
(EngineHandlerContext context, SASLEnvelope envelope) Handle the receipt of an incoming SASL performative based on the current state of this handler.default void
EngineHandler.handlerRemoved
(EngineHandlerContext context) Called when the handler is successfully removed to theEnginePipeline
.default void
EngineHandler.handleWrite
(EngineHandlerContext context, ProtonBuffer buffer, Runnable ioComplete) Writes the given bytes to the output target or if no handler in the pipeline handles this calls the registered output handler of the parent Engine instance.default void
EngineHandler.handleWrite
(EngineHandlerContext context, HeaderEnvelope envelope) Handles write of AMQPHeader either by directly writing it to the output target or by converting it to bytes and firing a write using theProtonBuffer
based API infireWrite(ProtonBuffer, Runnable)
default void
EngineHandler.handleWrite
(EngineHandlerContext context, OutgoingAMQPEnvelope envelope) Handles write of AMQP performative envelope either by directly writing it to the output target or by converting it to bytes and firing a write using theProtonBuffer
based API infireWrite(ProtonBuffer, Runnable)
default void
EngineHandler.handleWrite
(EngineHandlerContext context, SASLEnvelope envelope) Handles write of SaslPerformative either by directly writing it to the output target or by converting it to bytes and firing a write using theProtonBuffer
based API infireWrite(ProtonBuffer, Runnable)
-
Uses of EngineHandlerContext in org.apache.qpid.protonj2.engine.impl
Modifier and TypeClassDescriptionclass
Context for a registered EngineHandlerModifier and TypeMethodDescriptionProtonEnginePipeline.firstContext()
ProtonEnginePipelineProxy.firstContext()
ProtonEnginePipeline.lastContext()
ProtonEnginePipelineProxy.lastContext()
Modifier and TypeMethodDescriptionvoid
ProtonFrameDecodingHandler.engineFailed
(EngineHandlerContext context, EngineFailedException failure) void
ProtonPerformativeHandler.engineFailed
(EngineHandlerContext context, EngineFailedException failure) void
ProtonFrameEncodingHandler.engineStarting
(EngineHandlerContext context) void
ProtonPerformativeHandler.handleAMQPHeader
(AMQPHeader header, EngineHandlerContext context) void
ProtonPerformativeHandler.handleAttach
(Attach attach, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonPerformativeHandler.handleBegin
(Begin begin, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonPerformativeHandler.handleClose
(Close close, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonPerformativeHandler.handleDetach
(Detach detach, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonPerformativeHandler.handleDisposition
(Disposition disposition, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonPerformativeHandler.handleEnd
(End end, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonPerformativeHandler.handleFlow
(Flow flow, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonPerformativeHandler.handleOpen
(Open open, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonFrameDecodingHandler.handleOutcome
(SaslOutcome saslOutcome, EngineHandlerContext context) void
ProtonFrameDecodingHandler.handlerAdded
(EngineHandlerContext context) void
ProtonFrameEncodingHandler.handlerAdded
(EngineHandlerContext context) void
ProtonFrameLoggingHandler.handlerAdded
(EngineHandlerContext context) void
ProtonPerformativeHandler.handlerAdded
(EngineHandlerContext context) void
ProtonFrameDecodingHandler.handleRead
(EngineHandlerContext context, ProtonBuffer buffer) void
ProtonFrameDecodingHandler.handleRead
(EngineHandlerContext context, SASLEnvelope envelope) void
ProtonFrameLoggingHandler.handleRead
(EngineHandlerContext context, HeaderEnvelope envelope) void
ProtonFrameLoggingHandler.handleRead
(EngineHandlerContext context, IncomingAMQPEnvelope envelope) void
ProtonFrameLoggingHandler.handleRead
(EngineHandlerContext context, SASLEnvelope envelope) void
ProtonPerformativeHandler.handleRead
(EngineHandlerContext context, HeaderEnvelope header) void
ProtonPerformativeHandler.handleRead
(EngineHandlerContext context, IncomingAMQPEnvelope envelope) void
ProtonPerformativeHandler.handleSASLHeader
(AMQPHeader header, EngineHandlerContext context) void
ProtonPerformativeHandler.handleTransfer
(Transfer transfer, ProtonBuffer payload, int channel, EngineHandlerContext context) void
ProtonFrameDecodingHandler.handleWrite
(EngineHandlerContext context, SASLEnvelope envelope) void
ProtonFrameEncodingHandler.handleWrite
(EngineHandlerContext context, HeaderEnvelope envelope) void
ProtonFrameEncodingHandler.handleWrite
(EngineHandlerContext context, OutgoingAMQPEnvelope envelope) void
ProtonFrameEncodingHandler.handleWrite
(EngineHandlerContext context, SASLEnvelope envelope) void
ProtonFrameLoggingHandler.handleWrite
(EngineHandlerContext context, HeaderEnvelope envelope) void
ProtonFrameLoggingHandler.handleWrite
(EngineHandlerContext context, OutgoingAMQPEnvelope envelope) void
ProtonFrameLoggingHandler.handleWrite
(EngineHandlerContext context, SASLEnvelope envelope) -
Uses of EngineHandlerContext in org.apache.qpid.protonj2.engine.impl.sasl
Modifier and TypeMethodDescriptionvoid
ProtonSaslHandler.engineStarting
(EngineHandlerContext context) void
ProtonSaslHandler.handlerAdded
(EngineHandlerContext context) void
ProtonSaslHandler.handleRead
(EngineHandlerContext context, HeaderEnvelope header) void
ProtonSaslHandler.handleRead
(EngineHandlerContext context, IncomingAMQPEnvelope frame) void
ProtonSaslHandler.handleRead
(EngineHandlerContext context, SASLEnvelope frame) void
ProtonSaslHandler.handlerRemoved
(EngineHandlerContext context) void
ProtonSaslHandler.handleWrite
(EngineHandlerContext context, HeaderEnvelope frame) void
ProtonSaslHandler.handleWrite
(EngineHandlerContext context, OutgoingAMQPEnvelope frame) void
ProtonSaslHandler.handleWrite
(EngineHandlerContext context, SASLEnvelope frame)