(仅限 BlazeDS)
mx.messaging.messages
public class RemotingMessage
继承RemotingMessage Inheritance AbstractMessage Inheritance Object

RemotingMessages 用于将 RPC 请求发送到远程端点。这些消息使用 operation 属性指定要对远程对象调用的方法。destination 属性指示应使用的对象/服务。



公共属性
 属性定义方
 Inheritedbody : Object
消息正文包含需要传递到远程目标的特定数据。
AbstractMessage
 InheritedclientId : String
ClientId 指示发送消息的 MessageAgent。
AbstractMessage
 Inheritedconstructor : Object
对类对象或给定对象实例的构造函数的引用。
Object
 Inheriteddestination : String
消息目标。
AbstractMessage
 Inheritedheaders : Object
消息标头是一个关联数组,其中关键字为标头名称,而值为标头值。
AbstractMessage
 InheritedmessageId : String
消息的唯一 ID。
AbstractMessage
  operation : String
提供对应调用的远程方法/操作名称的访问权限。
RemotingMessage
 Inheritedprototype : Object
[静态] 对类或函数对象的原型对象的引用。
Object
  source : String
通过此属性可提供向后兼容性。
RemotingMessage
 Inheritedtimestamp : Number
提供对消息时间戳的访问权限。
AbstractMessage
 InheritedtimeToLive : Number
消息的生存时间值指示该消息应视为有效且可传送的时间。
AbstractMessage
公共方法
 方法定义方
  
构造未初始化的 RemotingMessage。
RemotingMessage
 Inherited
指示对象是否已经定义了指定的属性。
Object
 Inherited
指示 Object 类的实例是否在指定为参数的对象的原型链中。
Object
 Inherited
指示指定的属性是否存在、是否可枚举。
Object
 Inherited
设置循环操作动态属性的可用性。
Object
 Inherited
返回消息的字符串表示形式。
AbstractMessage
 Inherited
返回指定对象的原始值。
Object
公共常量
 常量定义方
 InheritedDESTINATION_CLIENT_ID_HEADER : String = "DSDstClientId"
[静态] 从服务器发出的消息可能按批到达,批处理过程中可能会将这些消息发送给不同的 Consumer 实例。
AbstractMessage
 InheritedENDPOINT_HEADER : String = "DSEndpoint"
[静态] 消息将以所用发送 Channel 的端点 ID 作为标签。
AbstractMessage
 InheritedFLEX_CLIENT_ID_HEADER : String = "DSId"
[静态] 服务器指定标头后,可通过该标头在出站消息中传输全局 FlexClient Id 值。
AbstractMessage
 InheritedREMOTE_CREDENTIALS_CHARSET_HEADER : String = "DSRemoteCredentialsCharset"
[静态] 需要为目标设置远程凭据的消息还需要报告使用此标头创建凭据 String 时所用的字符集编码。
AbstractMessage
 InheritedREMOTE_CREDENTIALS_HEADER : String = "DSRemoteCredentials"
[静态] 需要为目标设置远程凭据的消息采用此标头中的 Base64 编码凭据。
AbstractMessage
 InheritedREQUEST_TIMEOUT_HEADER : String = "DSRequestTimeout"
[静态] 随定义的请求超时发送的消息将用到此标头。
AbstractMessage
 InheritedSTATUS_CODE_HEADER : String = "DSStatusCode"
[静态] 一种状态代码,可以提供有关响应消息性质的上下文。
AbstractMessage
属性详细信息
operation属性
public var operation:String

提供对应调用的远程方法/操作名称的访问权限。

source属性 
public var source:String

通过此属性可提供向后兼容性。但是,最佳做法不是公开客户端上 RemoteObject 目标的基础源,而是对一个目标仅公开一个源。为安全起见,某些远程处理服务类型甚至会忽略此属性。

构造函数详细信息
RemotingMessage()构造函数
public function RemotingMessage()

构造未初始化的 RemotingMessage。