| Package | mx.data.messages |
| Class | public class ManagedRemotingMessage |
| Inheritance | ManagedRemotingMessage AsyncMessage AbstractMessage Object |
| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Runtime Versions: | Flash Player 10.2, AIR 2.6 |
| Property | Defined By | ||
|---|---|---|---|
![]() | body : Object
The body of a message contains the specific data that needs to be
delivered to the remote destination. | AbstractMessage | |
![]() | clientId : String
The clientId indicates which MessageAgent sent the message. | AbstractMessage | |
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | |
![]() | correlationId : String
Provides access to the correlation id of the message. | AsyncMessage | |
![]() | destination : String
The message destination. | AbstractMessage | |
![]() | headers : Object
The headers of a message are an associative array where the key is the
header name and the value is the header value. | AbstractMessage | |
![]() | messageId : String
The unique id for the message. | AbstractMessage | |
| operation : uint
Provides access to the operation/command of this message. | ManagedRemotingMessage | ||
| operationMethodName : String
The target method to invoke on the managed remote service. | ManagedRemotingMessage | ||
![]() | prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | |
![]() | timestamp : Number
Provides access to the time stamp for the message. | AbstractMessage | |
![]() | timeToLive : Number
The time to live value of a message indicates how long the message
should be considered valid and deliverable. | AbstractMessage | |
| Method | Defined By | ||
|---|---|---|---|
Constructor. | ManagedRemotingMessage | ||
[static]
Provides a description of the operation specified. | ManagedRemotingMessage | ||
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns a string representation of the message. | AbstractMessage | |
![]() |
Returns the primitive value of the specified object. | Object | |
| Constant | Defined By | ||
|---|---|---|---|
| CREATE_OPERATION : uint = 0 [static]
A create operation. | ManagedRemotingMessage | ||
| DELETE_OPERATION : uint = 4 [static]
A delete operation. | ManagedRemotingMessage | ||
![]() | DESTINATION_CLIENT_ID_HEADER : String = "DSDstClientId" [static]
Messages pushed from the server may arrive in a batch, with messages in the
batch potentially targeted to different Consumer instances. | AbstractMessage | |
![]() | ENDPOINT_HEADER : String = "DSEndpoint" [static]
Messages are tagged with the endpoint id for the Channel they are sent over. | AbstractMessage | |
| FILL_ASSOCIATION_OPERATION : uint = 7 [static]
A fill operation on an association. | ManagedRemotingMessage | ||
| FILL_OPERATION : uint = 1 [static]
A fill operation. | ManagedRemotingMessage | ||
| FIND_ITEM_OPERATION : uint = 5 [static]
A fill operation. | ManagedRemotingMessage | ||
![]() | FLEX_CLIENT_ID_HEADER : String = "DSId" [static]
This header is used to transport the global FlexClient Id value in outbound
messages once it has been assigned by the server. | AbstractMessage | |
| GET_OPERATION : uint = 2 [static]
A Get operation. | ManagedRemotingMessage | ||
| INCLUDE_OPERATION : uint = 6 [static]
For simple invocation of a ManagedRemoteService method. | ManagedRemotingMessage | ||
![]() | PRIORITY_HEADER : String = "DSPriority" [static]
Messages sent by a MessageAgent can have a priority header with a 0-9
numerical value (0 being lowest) and the server can choose to use this
numerical value to prioritize messages to clients. | AbstractMessage | |
| REMOTE_ALIAS : String = "flex.data.messages.ManagedRemotingMessage" [static]
Remote alias specifying the fully qualified server side class corresponding
to this class. | ManagedRemotingMessage | ||
![]() | REMOTE_CREDENTIALS_CHARSET_HEADER : String = "DSRemoteCredentialsCharset" [static]
Messages that need to set remote credentials for a destination
may also need to report the character-set encoding that was used to
create the credentials String using this header. | AbstractMessage | |
![]() | REMOTE_CREDENTIALS_HEADER : String = "DSRemoteCredentials" [static]
Messages that need to set remote credentials for a destination
carry the Base64 encoded credentials in this header. | AbstractMessage | |
![]() | REQUEST_TIMEOUT_HEADER : String = "DSRequestTimeout" [static]
Messages sent with a defined request timeout use this header. | AbstractMessage | |
![]() | STATUS_CODE_HEADER : String = "DSStatusCode" [static]
A status code can provide context about the nature of a response
message. | AbstractMessage | |
![]() | SUBTOPIC_HEADER : String = "DSSubtopic" [static]
Messages sent by a MessageAgent with a defined subtopic
property indicate their target subtopic in this header. | AsyncMessage | |
| UNKNOWN_OPERATION : uint = 1000 [static]
Code for an unknown operation type. | ManagedRemotingMessage | ||
| UPDATE_OPERATION : uint = 3 [static]
An update operation. | ManagedRemotingMessage | ||
operation | property |
public var operation:uint| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Runtime Versions: | Flash Player 10.2, AIR 2.6 |
Provides access to the operation/command of this message.
Operations indicate how the remote destination should process this message.
To display a description of operation type use the
getOperationAsString method.
Related API Elements
operationMethodName | property |
public var operationMethodName:String| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Runtime Versions: | Flash Player 10, AIR 2.6 |
The target method to invoke on the managed remote service.
ManagedRemotingMessage | () | Constructor |
public function ManagedRemotingMessage()| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Runtime Versions: | Flash Player 10.2, AIR 2.6 |
Constructor.
getOperationAsString | () | method |
public static function getOperationAsString(op:uint):String| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Runtime Versions: | Flash Player 10.2, AIR 2.6 |
Provides a description of the operation specified.
This method is used in toString() operations on this message.
Parameters
op:uint — The operation.
|
String — A String representation of the operation, or "unknown" if the operation is undefined.
|
Example ( How to use this example )
var msg:ManagedRemotingMessage = ManagedRemotingMessage(event.message);
trace("Current operation -'"+
ManagedRemotingMessage.getOperationAsString(msg.operation)+ "'.");
CREATE_OPERATION | Constant |
public static const CREATE_OPERATION:uint = 0| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Runtime Versions: | Flash Player 10.2, AIR 2.6 |
A create operation.
DELETE_OPERATION | Constant |
public static const DELETE_OPERATION:uint = 4| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Runtime Versions: | Flash Player 10.2, AIR 2.6 |
A delete operation.
FILL_ASSOCIATION_OPERATION | Constant |
public static const FILL_ASSOCIATION_OPERATION:uint = 7| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Runtime Versions: | Flash Player 10.2, AIR 2.6 |
A fill operation on an association. Used on the server only. Managed remoting clients send fill_association messages via a DataMessage to the managed entity destination, not the service destination.
FILL_OPERATION | Constant |
public static const FILL_OPERATION:uint = 1| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Runtime Versions: | Flash Player 10.2, AIR 2.6 |
A fill operation. Used on the server only. Managed remoting clients send fill messages via a DataMessage to the managed entity destination, not the service destination.
FIND_ITEM_OPERATION | Constant |
public static const FIND_ITEM_OPERATION:uint = 5| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Runtime Versions: | Flash Player 10.2, AIR 2.6 |
A fill operation. Used on the server only. Managed remoting clients send findItem messages via a DataMessage to the managed entity destination, not the service destination.
GET_OPERATION | Constant |
public static const GET_OPERATION:uint = 2| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Runtime Versions: | Flash Player 10, AIR 2.6 |
A Get operation. Used on the server only. Managed remoting clients send get messages via a DataMessage to the managed entity destination, not the service destination.
INCLUDE_OPERATION | Constant |
public static const INCLUDE_OPERATION:uint = 6| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Runtime Versions: | Flash Player 10.2, AIR 2.6 |
For simple invocation of a ManagedRemoteService method.
REMOTE_ALIAS | Constant |
public static const REMOTE_ALIAS:String = "flex.data.messages.ManagedRemotingMessage"| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Runtime Versions: | Flash Player 10.2, AIR 2.6 |
Remote alias specifying the fully qualified server side class corresponding to this class.
UNKNOWN_OPERATION | Constant |
public static const UNKNOWN_OPERATION:uint = 1000| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Runtime Versions: | Flash Player 10.2, AIR 2.6 |
Code for an unknown operation type.
UPDATE_OPERATION | Constant |
public static const UPDATE_OPERATION:uint = 3| Language Version: | ActionScript 3.0 |
| Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Runtime Versions: | Flash Player 10.2, AIR 2.6 |
An update operation.
Mon Nov 28 2011, 06:48 AM -08:00
Hide Inherited Public Properties
Show Inherited Public Properties