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

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

Inheritance diagram for Apache.Qpid.Proton.Engine.IncomingAmqpEnvelope:
Apache.Qpid.Proton.Engine.PerformativeEnvelope< IPerformative > Apache.Qpid.Proton.Engine.EmptyEnvelope

Public Member Functions

void Release ()
 Used to release a Frame that was taken from a Frame pool in order to make it available for the next input operations. Once called the contents of the Frame are invalid and cannot be used again inside the same context.
 
virtual void Invoke< T > (IPerformativeHandler< T > handler, T context)
 Invoke the correct performative handler event based on the body of this AMQP performative.
 

Static Public Attributes

static readonly byte AmqpFrameType = 0
 

Additional Inherited Members

- Properties inherited from Apache.Qpid.Proton.Engine.PerformativeEnvelope< IPerformative >
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.

Member Function Documentation

◆ Invoke< T >()

virtual void Apache.Qpid.Proton.Engine.IncomingAmqpEnvelope.Invoke< T > ( IPerformativeHandler< T >  handler,
context 
)
inlinevirtual

Invoke the correct performative handler event based on the body of this AMQP performative.

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

Reimplemented in Apache.Qpid.Proton.Engine.EmptyEnvelope.


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