public interface IStreamProperties

Summary

Common AMQP Stream content-class headers interface, spanning the union of the functionality offered by versions 0-8, 0-8qpid, 0-9 and 0-9-1 of AMQP.

Remarks

The specification code generator provides protocol-version-specific implementations of this interface. To obtain an implementation of this interface in a protocol-version-neutral way, use IModel.CreateStreamProperties().

Each property is readable, writable and clearable: a cleared property will not be transmitted over the wire. Properties on a fresh instance are clear by default.

Property Summary

Type Name Summary
string ContentEncoding (rw)

MIME content encoding

string ContentType (rw)

MIME content type

IDictionary Headers (rw)

message header field table

byte Priority (rw)

message priority, 0 to 9

AmqpTimestamp Timestamp (rw)

message timestamp

Method Summary

Name Summary
void ClearContentEncoding()

Clear the ContentEncoding property.

void ClearContentType()

Clear the ContentType property.

void ClearHeaders()

Clear the Headers property.

void ClearPriority()

Clear the Priority property.

void ClearTimestamp()

Clear the Timestamp property.

bool IsContentEncodingPresent()

Returns true iff the ContentEncoding property is present.

bool IsContentTypePresent()

Returns true iff the ContentType property is present.

bool IsHeadersPresent()

Returns true iff the Headers property is present.

bool IsPriorityPresent()

Returns true iff the Priority property is present.

bool IsTimestampPresent()

Returns true iff the Timestamp property is present.

Property Detail

string ContentEncoding (rw)

Summary

MIME content encoding

string ContentType (rw)

Summary

MIME content type

IDictionary Headers (rw)

Summary

message header field table

byte Priority (rw)

Summary

message priority, 0 to 9

AmqpTimestamp Timestamp (rw)

Summary

message timestamp

Method Detail

ClearContentEncoding

void ClearContentEncoding()

Return type void

Summary

Clear the ContentEncoding property.

ClearContentType

void ClearContentType()

Return type void

Summary

Clear the ContentType property.

ClearHeaders

void ClearHeaders()

Return type void

Summary

Clear the Headers property.

ClearPriority

void ClearPriority()

Return type void

Summary

Clear the Priority property.

ClearTimestamp

void ClearTimestamp()

Return type void

Summary

Clear the Timestamp property.

IsContentEncodingPresent

bool IsContentEncodingPresent()

Return type bool

Summary

Returns true iff the ContentEncoding property is present.

IsContentTypePresent

bool IsContentTypePresent()

Return type bool

Summary

Returns true iff the ContentType property is present.

IsHeadersPresent

bool IsHeadersPresent()

Return type bool

Summary

Returns true iff the Headers property is present.

IsPriorityPresent

bool IsPriorityPresent()

Return type bool

Summary

Returns true iff the Priority property is present.

IsTimestampPresent

bool IsTimestampPresent()

Return type bool

Summary

Returns true iff the Timestamp property is present.