Package org.apache.qpid.protonj2.engine
Class EmptyEnvelope
java.lang.Object
org.apache.qpid.protonj2.engine.PerformativeEnvelope<Performative>
org.apache.qpid.protonj2.engine.IncomingAMQPEnvelope
org.apache.qpid.protonj2.engine.EmptyEnvelope
An empty envelope which can be used to drive transport activity when idle.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final EmptyEnvelopeThe singleton instance of theEmptyEnvelopetype.Fields inherited from class org.apache.qpid.protonj2.engine.IncomingAMQPEnvelopeAMQP_FRAME_TYPE
- 
Method SummaryModifier and TypeMethodDescription<E> voidinvoke(Performative.PerformativeHandler<E> handler, E context) Invoke the correct PerformativeHandler event based on the body of thisIncomingAMQPEnvelopetoString()Methods inherited from class org.apache.qpid.protonj2.engine.IncomingAMQPEnvelopereleaseMethods inherited from class org.apache.qpid.protonj2.engine.PerformativeEnvelopegetBody, getChannel, getFrameType, getPayload
- 
Field Details- 
INSTANCEThe singleton instance of theEmptyEnvelopetype.
 
- 
- 
Method Details- 
toString- Overrides:
- toStringin class- PerformativeEnvelope<Performative>
 
- 
invokeDescription copied from class:IncomingAMQPEnvelopeInvoke the correct PerformativeHandler event based on the body of thisIncomingAMQPEnvelope- Overrides:
- invokein class- IncomingAMQPEnvelope
- Type Parameters:
- E- The type that the- Performativehandler expects for the context value.
- Parameters:
- handler- The handler that should be used to process the current body value.
- context- The context that should be passed along for the current event.
 
 
-