| Paket | mx.data.messages |
| Klass | public class ManagedRemotingMessage |
| Arv | ManagedRemotingMessage AsyncMessage AbstractMessage Object |
| Språkversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Körningsmiljöversioner: | Flash Player 10.2, AIR 2.6 |
| Egenskap | Definieras med | ||
|---|---|---|---|
![]() | 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
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | 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 | |
| Metod | Definieras med | ||
|---|---|---|---|
Constructor. | ManagedRemotingMessage | ||
[statisk]
Provides a description of the operation specified. | ManagedRemotingMessage | ||
![]() |
Anger om det finns en egenskap angiven för ett objekt. | Object | |
![]() |
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | |
![]() |
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | |
![]() |
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | |
![]() |
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | |
![]() |
Returns a string representation of the message. | AbstractMessage | |
![]() |
Returnerar det angivna objektets primitiva värde. | Object | |
| Konstant | Definieras med | ||
|---|---|---|---|
| CREATE_OPERATION : uint = 0 [statisk]
A create operation. | ManagedRemotingMessage | ||
| DELETE_OPERATION : uint = 4 [statisk]
A delete operation. | ManagedRemotingMessage | ||
| FILL_ASSOCIATION_OPERATION : uint = 7 [statisk]
A fill operation on an association. | ManagedRemotingMessage | ||
| FILL_OPERATION : uint = 1 [statisk]
A fill operation. | ManagedRemotingMessage | ||
| FIND_ITEM_OPERATION : uint = 5 [statisk]
A fill operation. | ManagedRemotingMessage | ||
| GET_OPERATION : uint = 2 [statisk]
A Get operation. | ManagedRemotingMessage | ||
| INCLUDE_OPERATION : uint = 6 [statisk]
For simple invocation of a ManagedRemoteService method. | ManagedRemotingMessage | ||
| REMOTE_ALIAS : String = "flex.data.messages.ManagedRemotingMessage" [statisk]
Remote alias specifying the fully qualified server side class corresponding
to this class. | ManagedRemotingMessage | ||
| UNKNOWN_OPERATION : uint = 1000 [statisk]
Code for an unknown operation type. | ManagedRemotingMessage | ||
| UPDATE_OPERATION : uint = 3 [statisk]
An update operation. | ManagedRemotingMessage | ||
operation | egenskap |
public var operation:uint| Språkversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Körningsmiljöversioner: | 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.
Relaterade API-element
operationMethodName | egenskap |
public var operationMethodName:String| Språkversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Körningsmiljöversioner: | Flash Player 10, AIR 2.6 |
The target method to invoke on the managed remote service.
ManagedRemotingMessage | () | Konstruktor |
public function ManagedRemotingMessage()| Språkversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Körningsmiljöversioner: | Flash Player 10.2, AIR 2.6 |
Constructor.
getOperationAsString | () | metod |
public static function getOperationAsString(op:uint):String| Språkversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Körningsmiljöversioner: | Flash Player 10.2, AIR 2.6 |
Provides a description of the operation specified.
This method is used in toString() operations on this message.
Parametrar
op:uint — The operation.
|
String — A String representation of the operation, or "unknown" if the operation is undefined.
|
Exempel ( Så här använder du exemplet )
var msg:ManagedRemotingMessage = ManagedRemotingMessage(event.message);
trace("Current operation -'"+
ManagedRemotingMessage.getOperationAsString(msg.operation)+ "'.");
CREATE_OPERATION | Konstant |
public static const CREATE_OPERATION:uint = 0| Språkversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Körningsmiljöversioner: | Flash Player 10.2, AIR 2.6 |
A create operation.
DELETE_OPERATION | Konstant |
public static const DELETE_OPERATION:uint = 4| Språkversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Körningsmiljöversioner: | Flash Player 10.2, AIR 2.6 |
A delete operation.
FILL_ASSOCIATION_OPERATION | Konstant |
public static const FILL_ASSOCIATION_OPERATION:uint = 7| Språkversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Körningsmiljöversioner: | 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 | Konstant |
public static const FILL_OPERATION:uint = 1| Språkversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Körningsmiljöversioner: | 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 | Konstant |
public static const FIND_ITEM_OPERATION:uint = 5| Språkversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Körningsmiljöversioner: | 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 | Konstant |
public static const GET_OPERATION:uint = 2| Språkversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Körningsmiljöversioner: | 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 | Konstant |
public static const INCLUDE_OPERATION:uint = 6| Språkversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Körningsmiljöversioner: | Flash Player 10.2, AIR 2.6 |
For simple invocation of a ManagedRemoteService method.
REMOTE_ALIAS | Konstant |
public static const REMOTE_ALIAS:String = "flex.data.messages.ManagedRemotingMessage"| Språkversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Körningsmiljöversioner: | Flash Player 10.2, AIR 2.6 |
Remote alias specifying the fully qualified server side class corresponding to this class.
UNKNOWN_OPERATION | Konstant |
public static const UNKNOWN_OPERATION:uint = 1000| Språkversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Körningsmiljöversioner: | Flash Player 10.2, AIR 2.6 |
Code for an unknown operation type.
UPDATE_OPERATION | Konstant |
public static const UPDATE_OPERATION:uint = 3| Språkversion: | ActionScript 3.0 |
| Produktversion: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
| Körningsmiljöversioner: | Flash Player 10.2, AIR 2.6 |
An update operation.
Tue Jun 12 2018, 01:40 PM Z
Dölj ärvda publika egenskaper
Visa ärvda publika egenskaper