Proton DotNet
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
Apache.Qpid.Proton.Engine.SaslEnvelope Class Referencesealed

Frame object that carries an AMQP Performative. More...

Inheritance diagram for Apache.Qpid.Proton.Engine.SaslEnvelope:
Apache.Qpid.Proton.Engine.PerformativeEnvelope< ISaslPerformative >

Public Member Functions

 SaslEnvelope (ISaslPerformative performative)
 Creates a new SASL Envelope with the given performative as the body.
 
 SaslEnvelope (ISaslPerformative performative, IProtonBuffer payload)
 Creates a new SASL Envelope with the given performative as the body and the given proton buffer as the payload.
 
void Invoke< T > (ISaslPerformativeHandler< T > handler, T context)
 Invoke the correct event point in the SASL performative handler based on the type of SASL performative carried in the body and pass along the provided context object to the handler.
 

Static Public Attributes

static readonly byte SaslFrameType = 1
 

Additional Inherited Members

- Properties inherited from Apache.Qpid.Proton.Engine.PerformativeEnvelope< ISaslPerformative >
Body [get]
 Access the performative that is the body of this envelope.
 
ushort Channel [get]
 Access the channel on which the performative was received.
 
IProtonBuffer Payload [get]
 Access the payload bytes that arrived with the performative.
 
byte FrameType [get]
 Provides the frame type that defines what types of performatives can be received.
 

Detailed Description

Frame object that carries an AMQP Performative.

Constructor & Destructor Documentation

◆ SaslEnvelope() [1/2]

Apache.Qpid.Proton.Engine.SaslEnvelope.SaslEnvelope ( ISaslPerformative  performative)
inline

Creates a new SASL Envelope with the given performative as the body.

Parameters
performativeThe performative to carry

◆ SaslEnvelope() [2/2]

Apache.Qpid.Proton.Engine.SaslEnvelope.SaslEnvelope ( ISaslPerformative  performative,
IProtonBuffer  payload 
)
inline

Creates a new SASL Envelope with the given performative as the body and the given proton buffer as the payload.

Parameters
performativeThe performative to carry

Member Function Documentation

◆ Invoke< T >()

void Apache.Qpid.Proton.Engine.SaslEnvelope.Invoke< T > ( ISaslPerformativeHandler< T >  handler,
context 
)
inline

Invoke the correct event point in the SASL performative handler based on the type of SASL performative carried in the body and pass along the provided context object to the handler.

Template Parameters
TThe type of context that will be provided to the invocation
Parameters
handlerThe handle to invoke an event on.
contextThe context to pass to the event invocation

The documentation for this class was generated from the following file: