public interface IStreamProperties

Known direct subtypes: StreamProperties

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<string,object> 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 property.

void ClearContentType()

Clear the property.

void ClearHeaders()

Clear the property.

void ClearPriority()

Clear the property.

void ClearTimestamp()

Clear the property.

bool IsContentEncodingPresent()

Returns true if the property is present.

bool IsContentTypePresent()

Returns true if the property is present.

bool IsHeadersPresent()

Returns true if the property is present.

bool IsPriorityPresent()

Returns true if the property is present.

bool IsTimestampPresent()

Returns true if the property is present.

Property Detail

string ContentEncoding (rw)

Summary

MIME content encoding.

string ContentType (rw)

Summary

MIME content type.

IDictionary<string,object> 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 property.

ClearContentType

void ClearContentType()

Return type void

Summary

Clear the property.

ClearHeaders

void ClearHeaders()

Return type void

Summary

Clear the property.

ClearPriority

void ClearPriority()

Return type void

Summary

Clear the property.

ClearTimestamp

void ClearTimestamp()

Return type void

Summary

Clear the property.

IsContentEncodingPresent

bool IsContentEncodingPresent()

Return type bool

Summary

Returns true if the property is present.

IsContentTypePresent

bool IsContentTypePresent()

Return type bool

Summary

Returns true if the property is present.

IsHeadersPresent

bool IsHeadersPresent()

Return type bool

Summary

Returns true if the property is present.

IsPriorityPresent

bool IsPriorityPresent()

Return type bool

Summary

Returns true if the property is present.

IsTimestampPresent

bool IsTimestampPresent()

Return type bool

Summary

Returns true if the property is present.