提供用于设置消息属性和标头字段的接口。
Public Interface QAMessage
public interface QAMessage
QAMessage 接口的所有成员,包括所有继承的成员。
名称 | 说明 |
---|---|
清除消息的主体。 | |
清除消息的所有属性。 | |
获取布尔型消息属性。 | |
获取字节消息属性。 | |
获取双精度型消息属性。 | |
获取浮点型消息属性。 | |
获取整型消息属性。 | |
获取长整型消息属性。 | |
获取消息属性。 | |
获取消息属性名称的枚举器。 | |
返回给定属性的属性类型。 | |
获取有符号字节型消息属性。 | |
获取短整型消息属性。 | |
获取字符串型消息属性。 | |
指示是否已为此消息设置了给定属性。 | |
设置布尔型属性。 | |
设置字节型属性。 | |
设置双精度型属性。 | |
设置浮点型属性。 | |
设置整型属性。 | |
设置长整型属性。 | |
设置属性。 | |
设置有符号字节型属性。 | |
设置短整型属性。 | |
设置字符串型属性。 | |
QAMessage 实例的目标地址。 | |
获取消息的有效期值。 | |
此消息所回复的消息的消息 ID。 | |
消息的全局唯一消息 ID。 | |
消息的优先级(从 0 到 9)。 | |
指示消息是否以前已接收但尚未确认。 | |
此消息的回复地址。 | |
消息时间戳。 |
派生类 QABinaryMessage 和 QATextMessage 提供读写消息主体的专用方法。可以使用 QAMessage 方法设置预定义或自定义消息属性。
有关预定义属性名称的列表,请参见 MessageProperties。
有关设置消息属性和标头字段的详细信息,请参见QAnywhere 消息。
ClearBody 方法
ClearProperties 方法
GetBooleanProperty 方法
GetByteProperty 方法
GetDoubleProperty 方法
GetFloatProperty 方法
GetIntProperty 方法
GetLongProperty 方法
GetProperty 方法
GetPropertyNames 方法
GetPropertyType 方法
GetSbyteProperty 方法
GetShortProperty 方法
GetStringProperty 方法
PropertyExists 方法
SetBooleanProperty 方法
SetByteProperty 方法
SetDoubleProperty 方法
SetFloatProperty 方法
SetIntProperty 方法
SetLongProperty 方法
SetProperty 方法
SetSbyteProperty 方法
SetShortProperty 方法
SetStringProperty 方法
Address 属性
Expiration 属性
InReplyToID 属性
MessageID 属性
Priority 属性
Redelivered 属性
ReplyToAddress 属性
Timestamp 属性
![]() |
使用DocCommentXchange 讨论此页。
|
版权 © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |