Pacchetto | mx.data.messages |
Classe | public class ManagedRemotingMessage |
Ereditarietà | ManagedRemotingMessage AsyncMessage AbstractMessage Object |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.6 |
Versioni runtime: | Flash Player 10.2, AIR 2.6 |
Proprietà | Definito da | ||
---|---|---|---|
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
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | 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 |
Metodo | Definito da | ||
---|---|---|---|
Constructor. | ManagedRemotingMessage | ||
[statico]
Provides a description of the operation specified. | ManagedRemotingMessage | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Returns a string representation of the message. | AbstractMessage | ||
Restituisce il valore di base dell'oggetto specificato. | Object |
Costante | Definito da | ||
---|---|---|---|
CREATE_OPERATION : uint = 0 [statico]
A create operation. | ManagedRemotingMessage | ||
DELETE_OPERATION : uint = 4 [statico]
A delete operation. | ManagedRemotingMessage | ||
FILL_ASSOCIATION_OPERATION : uint = 7 [statico]
A fill operation on an association. | ManagedRemotingMessage | ||
FILL_OPERATION : uint = 1 [statico]
A fill operation. | ManagedRemotingMessage | ||
FIND_ITEM_OPERATION : uint = 5 [statico]
A fill operation. | ManagedRemotingMessage | ||
GET_OPERATION : uint = 2 [statico]
A Get operation. | ManagedRemotingMessage | ||
INCLUDE_OPERATION : uint = 6 [statico]
For simple invocation of a ManagedRemoteService method. | ManagedRemotingMessage | ||
REMOTE_ALIAS : String = "flex.data.messages.ManagedRemotingMessage" [statico]
Remote alias specifying the fully qualified server side class corresponding
to this class. | ManagedRemotingMessage | ||
UNKNOWN_OPERATION : uint = 1000 [statico]
Code for an unknown operation type. | ManagedRemotingMessage | ||
UPDATE_OPERATION : uint = 3 [statico]
An update operation. | ManagedRemotingMessage |
operation | proprietà |
public var operation:uint
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.6 |
Versioni runtime: | 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.
Elementi API correlati
operationMethodName | proprietà |
public var operationMethodName:String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.6 |
Versioni runtime: | Flash Player 10, AIR 2.6 |
The target method to invoke on the managed remote service.
ManagedRemotingMessage | () | Funzione di costruzione |
public function ManagedRemotingMessage()
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.6 |
Versioni runtime: | Flash Player 10.2, AIR 2.6 |
Constructor.
getOperationAsString | () | metodo |
public static function getOperationAsString(op:uint):String
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.6 |
Versioni runtime: | Flash Player 10.2, AIR 2.6 |
Provides a description of the operation specified.
This method is used in toString()
operations on this message.
Parametri
op:uint — The operation.
|
String — A String representation of the operation, or "unknown" if the operation is undefined.
|
Esempio ( Come utilizzare questo esempio )
var msg:ManagedRemotingMessage = ManagedRemotingMessage(event.message); trace("Current operation -'"+ ManagedRemotingMessage.getOperationAsString(msg.operation)+ "'.");
CREATE_OPERATION | Costante |
public static const CREATE_OPERATION:uint = 0
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.6 |
Versioni runtime: | Flash Player 10.2, AIR 2.6 |
A create operation.
DELETE_OPERATION | Costante |
public static const DELETE_OPERATION:uint = 4
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.6 |
Versioni runtime: | Flash Player 10.2, AIR 2.6 |
A delete operation.
FILL_ASSOCIATION_OPERATION | Costante |
public static const FILL_ASSOCIATION_OPERATION:uint = 7
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.6 |
Versioni runtime: | 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 | Costante |
public static const FILL_OPERATION:uint = 1
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.6 |
Versioni runtime: | 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 | Costante |
public static const FIND_ITEM_OPERATION:uint = 5
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.6 |
Versioni runtime: | 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 | Costante |
public static const GET_OPERATION:uint = 2
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.6 |
Versioni runtime: | 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 | Costante |
public static const INCLUDE_OPERATION:uint = 6
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.6 |
Versioni runtime: | Flash Player 10.2, AIR 2.6 |
For simple invocation of a ManagedRemoteService method.
REMOTE_ALIAS | Costante |
public static const REMOTE_ALIAS:String = "flex.data.messages.ManagedRemotingMessage"
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.6 |
Versioni runtime: | Flash Player 10.2, AIR 2.6 |
Remote alias specifying the fully qualified server side class corresponding to this class.
UNKNOWN_OPERATION | Costante |
public static const UNKNOWN_OPERATION:uint = 1000
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.6 |
Versioni runtime: | Flash Player 10.2, AIR 2.6 |
Code for an unknown operation type.
UPDATE_OPERATION | Costante |
public static const UPDATE_OPERATION:uint = 3
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Data Services per Java EE 4.6 |
Versioni runtime: | Flash Player 10.2, AIR 2.6 |
An update operation.
Tue Jun 12 2018, 02:44 PM Z