Paquete | mx.data.messages |
Clase | public class ManagedRemotingMessage |
Herencia | ManagedRemotingMessage AsyncMessage AbstractMessage Object |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Versiones de motor de ejecución: | Flash Player 10.2, AIR 2.6 |
Propiedad | Definido por | ||
---|---|---|---|
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
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | 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 |
Método | Definido por | ||
---|---|---|---|
Constructor. | ManagedRemotingMessage | ||
[estática]
Provides a description of the operation specified. | ManagedRemotingMessage | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
Returns a string representation of the message. | AbstractMessage | ||
Devuelve el valor simple del objeto especificado. | Object |
Constante | Definido por | ||
---|---|---|---|
CREATE_OPERATION : uint = 0 [estática]
A create operation. | ManagedRemotingMessage | ||
DELETE_OPERATION : uint = 4 [estática]
A delete operation. | ManagedRemotingMessage | ||
FILL_ASSOCIATION_OPERATION : uint = 7 [estática]
A fill operation on an association. | ManagedRemotingMessage | ||
FILL_OPERATION : uint = 1 [estática]
A fill operation. | ManagedRemotingMessage | ||
FIND_ITEM_OPERATION : uint = 5 [estática]
A fill operation. | ManagedRemotingMessage | ||
GET_OPERATION : uint = 2 [estática]
A Get operation. | ManagedRemotingMessage | ||
INCLUDE_OPERATION : uint = 6 [estática]
For simple invocation of a ManagedRemoteService method. | ManagedRemotingMessage | ||
REMOTE_ALIAS : String = "flex.data.messages.ManagedRemotingMessage" [estática]
Remote alias specifying the fully qualified server side class corresponding
to this class. | ManagedRemotingMessage | ||
UNKNOWN_OPERATION : uint = 1000 [estática]
Code for an unknown operation type. | ManagedRemotingMessage | ||
UPDATE_OPERATION : uint = 3 [estática]
An update operation. | ManagedRemotingMessage |
operation | propiedad |
public var operation:uint
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Versiones de motor de ejecución: | 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.
Elementos de API relacionados
operationMethodName | propiedad |
public var operationMethodName:String
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Versiones de motor de ejecución: | Flash Player 10, AIR 2.6 |
The target method to invoke on the managed remote service.
ManagedRemotingMessage | () | Información sobre |
public function ManagedRemotingMessage()
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Versiones de motor de ejecución: | Flash Player 10.2, AIR 2.6 |
Constructor.
getOperationAsString | () | método |
public static function getOperationAsString(op:uint):String
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Versiones de motor de ejecución: | Flash Player 10.2, AIR 2.6 |
Provides a description of the operation specified.
This method is used in toString()
operations on this message.
Parámetros
op:uint — The operation.
|
String — A String representation of the operation, or "unknown" if the operation is undefined.
|
Ejemplo ( Cómo utilizar este ejemplo )
var msg:ManagedRemotingMessage = ManagedRemotingMessage(event.message); trace("Current operation -'"+ ManagedRemotingMessage.getOperationAsString(msg.operation)+ "'.");
CREATE_OPERATION | Constante |
public static const CREATE_OPERATION:uint = 0
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Versiones de motor de ejecución: | Flash Player 10.2, AIR 2.6 |
A create operation.
DELETE_OPERATION | Constante |
public static const DELETE_OPERATION:uint = 4
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Versiones de motor de ejecución: | Flash Player 10.2, AIR 2.6 |
A delete operation.
FILL_ASSOCIATION_OPERATION | Constante |
public static const FILL_ASSOCIATION_OPERATION:uint = 7
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Versiones de motor de ejecución: | 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
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Versiones de motor de ejecución: | 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
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Versiones de motor de ejecución: | 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
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Versiones de motor de ejecución: | 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
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Versiones de motor de ejecución: | 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"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Versiones de motor de ejecución: | 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
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Versiones de motor de ejecución: | Flash Player 10.2, AIR 2.6 |
Code for an unknown operation type.
UPDATE_OPERATION | Constante |
public static const UPDATE_OPERATION:uint = 3
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
Versiones de motor de ejecución: | Flash Player 10.2, AIR 2.6 |
An update operation.
Tue Jun 12 2018, 02:12 PM Z