Pakket | mx.data.messages |
Klasse | public class ManagedRemotingMessage |
Overerving | ManagedRemotingMessage AsyncMessage AbstractMessage Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Runtimeversies: | Flash Player 10.2, AIR 2.6 |
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
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
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | 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 |
Methode | Gedefinieerd door | ||
---|---|---|---|
Constructor. | ManagedRemotingMessage | ||
[statisch]
Provides a description of the operation specified. | ManagedRemotingMessage | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Returns a string representation of the message. | AbstractMessage | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
Constante | Gedefinieerd door | ||
---|---|---|---|
CREATE_OPERATION : uint = 0 [statisch]
A create operation. | ManagedRemotingMessage | ||
DELETE_OPERATION : uint = 4 [statisch]
A delete operation. | ManagedRemotingMessage | ||
FILL_ASSOCIATION_OPERATION : uint = 7 [statisch]
A fill operation on an association. | ManagedRemotingMessage | ||
FILL_OPERATION : uint = 1 [statisch]
A fill operation. | ManagedRemotingMessage | ||
FIND_ITEM_OPERATION : uint = 5 [statisch]
A fill operation. | ManagedRemotingMessage | ||
GET_OPERATION : uint = 2 [statisch]
A Get operation. | ManagedRemotingMessage | ||
INCLUDE_OPERATION : uint = 6 [statisch]
For simple invocation of a ManagedRemoteService method. | ManagedRemotingMessage | ||
REMOTE_ALIAS : String = "flex.data.messages.ManagedRemotingMessage" [statisch]
Remote alias specifying the fully qualified server side class corresponding
to this class. | ManagedRemotingMessage | ||
UNKNOWN_OPERATION : uint = 1000 [statisch]
Code for an unknown operation type. | ManagedRemotingMessage | ||
UPDATE_OPERATION : uint = 3 [statisch]
An update operation. | ManagedRemotingMessage |
operation | eigenschap |
public var operation:uint
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Runtimeversies: | 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.
Verwante API-elementen
operationMethodName | eigenschap |
public var operationMethodName:String
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Runtimeversies: | Flash Player 10, AIR 2.6 |
The target method to invoke on the managed remote service.
ManagedRemotingMessage | () | Constructor |
public function ManagedRemotingMessage()
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Runtimeversies: | Flash Player 10.2, AIR 2.6 |
Constructor.
getOperationAsString | () | methode |
public static function getOperationAsString(op:uint):String
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Runtimeversies: | 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.
|
Voorbeeld ( Hoe dit voorbeeld te gebruiken )
var msg:ManagedRemotingMessage = ManagedRemotingMessage(event.message); trace("Current operation -'"+ ManagedRemotingMessage.getOperationAsString(msg.operation)+ "'.");
CREATE_OPERATION | Constante |
public static const CREATE_OPERATION:uint = 0
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Runtimeversies: | Flash Player 10.2, AIR 2.6 |
A create operation.
DELETE_OPERATION | Constante |
public static const DELETE_OPERATION:uint = 4
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Runtimeversies: | Flash Player 10.2, AIR 2.6 |
A delete operation.
FILL_ASSOCIATION_OPERATION | Constante |
public static const FILL_ASSOCIATION_OPERATION:uint = 7
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Runtimeversies: | 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 | Constante |
public static const FILL_OPERATION:uint = 1
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Runtimeversies: | 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 | Constante |
public static const FIND_ITEM_OPERATION:uint = 5
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Runtimeversies: | 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 | Constante |
public static const GET_OPERATION:uint = 2
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Runtimeversies: | 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 | Constante |
public static const INCLUDE_OPERATION:uint = 6
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Runtimeversies: | Flash Player 10.2, AIR 2.6 |
For simple invocation of a ManagedRemoteService method.
REMOTE_ALIAS | Constante |
public static const REMOTE_ALIAS:String = "flex.data.messages.ManagedRemotingMessage"
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Runtimeversies: | Flash Player 10.2, AIR 2.6 |
Remote alias specifying the fully qualified server side class corresponding to this class.
UNKNOWN_OPERATION | Constante |
public static const UNKNOWN_OPERATION:uint = 1000
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Runtimeversies: | Flash Player 10.2, AIR 2.6 |
Code for an unknown operation type.
UPDATE_OPERATION | Constante |
public static const UPDATE_OPERATION:uint = 3
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Runtimeversies: | Flash Player 10.2, AIR 2.6 |
An update operation.
Wed Jun 13 2018, 11:42 AM Z