Uses of Interface
org.apache.qpid.protonj2.engine.EngineHandlerContext
-
Packages that use EngineHandlerContext Package Description org.apache.qpid.protonj2.engine org.apache.qpid.protonj2.engine.impl org.apache.qpid.protonj2.engine.impl.sasl -
-
Uses of EngineHandlerContext in org.apache.qpid.protonj2.engine
Methods in org.apache.qpid.protonj2.engine that return EngineHandlerContext Modifier and Type Method Description EngineHandlerContext
EnginePipeline. firstContext()
EngineHandlerContext
EnginePipeline. lastContext()
Methods in org.apache.qpid.protonj2.engine with parameters of type EngineHandlerContext Modifier and Type Method Description default 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, java.lang.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
Classes in org.apache.qpid.protonj2.engine.impl that implement EngineHandlerContext Modifier and Type Class Description class
ProtonEngineHandlerContext
Context for a registered EngineHandlerMethods in org.apache.qpid.protonj2.engine.impl that return EngineHandlerContext Modifier and Type Method Description EngineHandlerContext
ProtonEnginePipeline. firstContext()
EngineHandlerContext
ProtonEnginePipelineProxy. firstContext()
EngineHandlerContext
ProtonEnginePipeline. lastContext()
EngineHandlerContext
ProtonEnginePipelineProxy. lastContext()
Methods in org.apache.qpid.protonj2.engine.impl with parameters of type EngineHandlerContext Modifier and Type Method Description void
ProtonFrameDecodingHandler. engineFailed(EngineHandlerContext context, EngineFailedException failure)
void
ProtonPerformativeHandler. engineFailed(EngineHandlerContext context, EngineFailedException failure)
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
Methods in org.apache.qpid.protonj2.engine.impl.sasl with parameters of type EngineHandlerContext Modifier and Type Method Description void
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)
-