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 | ||
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 | ||
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 | ||
GET_OPERATION : uint = 2 [static]
A Get operation. | ManagedRemotingMessage | ||
INCLUDE_OPERATION : uint = 6 [static]
For simple invocation of a ManagedRemoteService method. | ManagedRemotingMessage | ||
REMOTE_ALIAS : String = "flex.data.messages.ManagedRemotingMessage" [static]
Remote alias specifying the fully qualified server side class corresponding
to this class. | ManagedRemotingMessage | ||
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.
Thu Dec 6 2018, 01:12 PM -08:00