Package org.apache.qpid.protonj2.engine
Class SASLEnvelope
java.lang.Object
org.apache.qpid.protonj2.engine.PerformativeEnvelope<SaslPerformative>
org.apache.qpid.protonj2.engine.SASLEnvelope
Frame object containing a SASL performative
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final byteThe frame type marker used when decoding or encoding AMQP Header frames.
- 
Constructor SummaryConstructorsConstructorDescriptionSASLEnvelope(SaslPerformative performative) Creates a new SASL envelope that wraps the given SASL performative.SASLEnvelope(SaslPerformative performative, ProtonBuffer payload) Creates a new SASL envelope that wraps the given SASL performative.
- 
Method SummaryModifier and TypeMethodDescription<E> voidinvoke(SaslPerformative.SaslPerformativeHandler<E> handler, E context) Invoke the correct handler based on the SASL performative contained in this envelope.Methods inherited from class org.apache.qpid.protonj2.engine.PerformativeEnvelopegetBody, getChannel, getFrameType, getPayload, toString
- 
Field Details- 
SASL_FRAME_TYPEpublic static final byte SASL_FRAME_TYPEThe frame type marker used when decoding or encoding AMQP Header frames.- See Also:
 
 
- 
- 
Constructor Details- 
SASLEnvelopeCreates a new SASL envelope that wraps the given SASL performative.- Parameters:
- performative- The SASL performative to be wrapped.
 
- 
SASLEnvelopeCreates a new SASL envelope that wraps the given SASL performative.- Parameters:
- performative- The SASL performative to be wrapped.
- payload- The payload that accompanies the wrapped SASL performative.
 
 
- 
- 
Method Details- 
invokeInvoke the correct handler based on the SASL performative contained in this envelope.- Type Parameters:
- E- The type of the context object that accompanies the invocation.
- Parameters:
- handler- The- AMQPHeader.HeaderHandlerthat should be invoked based on the performative type.
- context- The context value to provide when signaling the SASL handler.
 
 
-