Frame object that carries an AMQP Performative.
More...
|
void | Invoke< T > (IHeaderHandler< T > handler, T context) |
| Invoke the correct handler based on whether this header is a SASL or AMQP header instance.
|
|
|
static readonly byte | HeaderFrameType = 1 |
|
static readonly HeaderEnvelope | SASL_HEADER_ENVELOPE = new(AmqpHeader.GetSASLHeader()) |
| A singleton instance of an SASL header that can be used to avoid additional allocations.
|
|
static readonly HeaderEnvelope | AMQP_HEADER_ENVELOPE = new(AmqpHeader.GetAMQPHeader()) |
| A singleton instance of an AMQP header that can be used to avoid additional allocations.
|
|
|
int | ProtocolId [get] |
| Reads the protocol Id value from the conveyed header.
|
|
int | Major [get] |
| Reads the major version number value from the conveyed header.
|
|
int | Minor [get] |
| Reads the minor version number value from the conveyed header.
|
|
int | Revision [get] |
| Reads the revision version number value from the conveyed header.
|
|
bool | IsSaslHeader [get] |
| Returns true if the conveyed header is a SASL header.
|
|
T | 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.
|
|
Frame object that carries an AMQP Performative.
◆ Invoke< T >()
void Apache.Qpid.Proton.Engine.HeaderEnvelope.Invoke< T > |
( |
IHeaderHandler< T > |
handler, |
|
|
T |
context |
|
) |
| |
|
inline |
Invoke the correct handler based on whether this header is a SASL or AMQP header instance.
- Template Parameters
-
T | The context type for the handler invocation |
- Parameters
-
handler | The header handler to invoke |
context | The context to supply to the handler method. |
The documentation for this class was generated from the following file:
- src/Proton/Engine/HeaderEnvelope.cs