Pakiet | mx.messaging.messages |
Interfejs | public interface IMessage |
Implementory | AbstractMessage |
Wersja języka: | ActionScript 3.0 |
Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Właściwość | Zdefiniowane przez | ||
---|---|---|---|
body : Object
The body of a message contains the specific data that needs to be
delivered to the remote destination. | IMessage | ||
clientId : String
The clientId indicates which client sent the message. | IMessage | ||
destination : String
The message destination. | IMessage | ||
headers : Object
Provides access to the headers of the message. | IMessage | ||
messageId : String
The unique id for the message. | IMessage | ||
timestamp : Number
Provides access to the time stamp for the message. | IMessage | ||
timeToLive : Number
The time to live value of a message indicates how long the message
should be considered valid and deliverable. | IMessage |
Metoda | Zdefiniowane przez | ||
---|---|---|---|
This method will return a string representation of the message. | IMessage |
body | właściwość |
body:Object
Wersja języka: | ActionScript 3.0 |
Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
The body of a message contains the specific data that needs to be delivered to the remote destination.
Implementacja
public function get body():Object
public function set body(value:Object):void
clientId | właściwość |
clientId:String
Wersja języka: | ActionScript 3.0 |
Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
The clientId indicates which client sent the message.
Implementacja
public function get clientId():String
public function set clientId(value:String):void
destination | właściwość |
destination:String
Wersja języka: | ActionScript 3.0 |
Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
The message destination.
Implementacja
public function get destination():String
public function set destination(value:String):void
headers | właściwość |
headers:Object
Wersja języka: | ActionScript 3.0 |
Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Provides access to the headers of the message. The headers of a message are an associative array where the key is the header name. This property provides access to specialized meta information for the specific message instance.
Implementacja
public function get headers():Object
public function set headers(value:Object):void
messageId | właściwość |
messageId:String
Wersja języka: | ActionScript 3.0 |
Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
The unique id for the message. The message id can be used to correlate a response to the original request message in request-response messaging scenarios.
Implementacja
public function get messageId():String
public function set messageId(value:String):void
timestamp | właściwość |
timestamp:Number
Wersja języka: | ActionScript 3.0 |
Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Provides access to the time stamp for the message. A time stamp is the date and time that the message was sent. The time stamp is used for tracking the message through the system, ensuring quality of service levels and providing a mechanism for expiration.
Implementacja
public function get timestamp():Number
public function set timestamp(value:Number):void
Powiązane elementy interfejsu API
timeToLive | właściwość |
timeToLive:Number
Wersja języka: | ActionScript 3.0 |
Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
The time to live value of a message indicates how long the message
should be considered valid and deliverable.
This value works in conjunction with the timestamp
value.
Time to live is the number of milliseconds that this message remains
valid starting from the specified timestamp
value.
For example, if the timestamp
value is 04/05/05 1:30:45 PST
and the timeToLive
value is 5000, then this message will
expire at 04/05/05 1:30:50 PST.
Once a message expires it will not be delivered to any other clients.
Implementacja
public function get timeToLive():Number
public function set timeToLive(value:Number):void
toString | () | metoda |
public function toString():String
Wersja języka: | ActionScript 3.0 |
Wersje produktu: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
This method will return a string representation of the message.
ZwracaString — String representation of the message.
|
Tue Jun 12 2018, 12:06 PM Z