ActionScript® 3.0 — dokumentacja dla platformy Adobe® Flash®
Strona główna  |  Ukryj listę pakietów i klas |  Pakiety  |  Klasy  |  Nowości  |  Indeks  |  Dodatki  |  Dlaczego język angielski?
Filtry: Pobieranie danych z serwera...
Pobieranie danych z serwera...
mx.data.messages 

ManagedRemotingMessage  - AS3 ADEP Data Services

Pakietmx.data.messages
Klasapublic class ManagedRemotingMessage
DziedziczenieManagedRemotingMessage Inheritance AsyncMessage Inheritance AbstractMessage Inheritance Object

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.6
Wersje środowiska wykonawczego: Flash Player 10.2, AIR 2.6

This message is used to transport an managed remoting operation.



Właściwości publiczne
 WłaściwośćZdefiniowane przez
 Inheritedbody : Object
The body of a message contains the specific data that needs to be delivered to the remote destination.
AbstractMessage
 InheritedclientId : String
The clientId indicates which MessageAgent sent the message.
AbstractMessage
 Inheritedconstructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu.
Object
 InheritedcorrelationId : String
Provides access to the correlation id of the message.
AsyncMessage
 Inheriteddestination : String
The message destination.
AbstractMessage
 Inheritedheaders : 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
 InheritedmessageId : 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
 Inheritedtimestamp : Number
Provides access to the time stamp for the message.
AbstractMessage
 InheritedtimeToLive : Number
The time to live value of a message indicates how long the message should be considered valid and deliverable.
AbstractMessage
Metody publiczne
 MetodaZdefiniowane przez
  
Constructor.
ManagedRemotingMessage
  
[statyczny] Provides a description of the operation specified.
ManagedRemotingMessage
 Inherited
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość.
Object
 Inherited
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr.
Object
 Inherited
Wskazuje, czy określona właściwość istnieje i jest przeliczalna.
Object
 Inherited
Ustawia dostępność właściwości dynamicznej używanej w pętlach.
Object
 Inherited
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych.
Object
 Inherited
Returns a string representation of the message.
AbstractMessage
 Inherited
Zwraca pierwotną wartość dla określonego obiektu.
Object
Stałe publiczne
 StałaZdefiniowane przez
  CREATE_OPERATION : uint = 0
[statyczny] A create operation.
ManagedRemotingMessage
  DELETE_OPERATION : uint = 4
[statyczny] A delete operation.
ManagedRemotingMessage
  FILL_ASSOCIATION_OPERATION : uint = 7
[statyczny] A fill operation on an association.
ManagedRemotingMessage
  FILL_OPERATION : uint = 1
[statyczny] A fill operation.
ManagedRemotingMessage
  FIND_ITEM_OPERATION : uint = 5
[statyczny] A fill operation.
ManagedRemotingMessage
  GET_OPERATION : uint = 2
[statyczny] A Get operation.
ManagedRemotingMessage
  INCLUDE_OPERATION : uint = 6
[statyczny] For simple invocation of a ManagedRemoteService method.
ManagedRemotingMessage
  REMOTE_ALIAS : String = "flex.data.messages.ManagedRemotingMessage"
[statyczny] Remote alias specifying the fully qualified server side class corresponding to this class.
ManagedRemotingMessage
  UNKNOWN_OPERATION : uint = 1000
[statyczny] Code for an unknown operation type.
ManagedRemotingMessage
  UPDATE_OPERATION : uint = 3
[statyczny] An update operation.
ManagedRemotingMessage
Szczegół właściwości

operation

właściwość
public var operation:uint

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.6
Wersje środowiska wykonawczego: 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.

Powiązane elementy interfejsu API

operationMethodName

właściwość 
public var operationMethodName:String

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.6
Wersje środowiska wykonawczego: Flash Player 10, AIR 2.6

The target method to invoke on the managed remote service.

Konstruktor Szczegół

ManagedRemotingMessage

()Konstruktor
public function ManagedRemotingMessage()

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.6
Wersje środowiska wykonawczego: Flash Player 10.2, AIR 2.6

Constructor.

Szczegół metody

getOperationAsString

()metoda
public static function getOperationAsString(op:uint):String

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.6
Wersje środowiska wykonawczego: Flash Player 10.2, AIR 2.6

Provides a description of the operation specified. This method is used in toString() operations on this message.

Parametry

op:uint — The operation.

Zwraca
String — A String representation of the operation, or "unknown" if the operation is undefined.

Przykład  ( Sposób korzystania z tego przykładu )
         var msg:ManagedRemotingMessage = ManagedRemotingMessage(event.message);
         trace("Current operation -'"+
                ManagedRemotingMessage.getOperationAsString(msg.operation)+ "'.");
      
Szczegół stałej

CREATE_OPERATION

Stała
public static const CREATE_OPERATION:uint = 0

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.6
Wersje środowiska wykonawczego: Flash Player 10.2, AIR 2.6

A create operation.

DELETE_OPERATION

Stała 
public static const DELETE_OPERATION:uint = 4

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.6
Wersje środowiska wykonawczego: Flash Player 10.2, AIR 2.6

A delete operation.

FILL_ASSOCIATION_OPERATION

Stała 
public static const FILL_ASSOCIATION_OPERATION:uint = 7

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.6
Wersje środowiska wykonawczego: 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

Stała 
public static const FILL_OPERATION:uint = 1

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.6
Wersje środowiska wykonawczego: 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

Stała 
public static const FIND_ITEM_OPERATION:uint = 5

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.6
Wersje środowiska wykonawczego: 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

Stała 
public static const GET_OPERATION:uint = 2

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.6
Wersje środowiska wykonawczego: 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

Stała 
public static const INCLUDE_OPERATION:uint = 6

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.6
Wersje środowiska wykonawczego: Flash Player 10.2, AIR 2.6

For simple invocation of a ManagedRemoteService method.

REMOTE_ALIAS

Stała 
public static const REMOTE_ALIAS:String = "flex.data.messages.ManagedRemotingMessage"

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.6
Wersje środowiska wykonawczego: Flash Player 10.2, AIR 2.6

Remote alias specifying the fully qualified server side class corresponding to this class.

UNKNOWN_OPERATION

Stała 
public static const UNKNOWN_OPERATION:uint = 1000

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.6
Wersje środowiska wykonawczego: Flash Player 10.2, AIR 2.6

Code for an unknown operation type.

UPDATE_OPERATION

Stała 
public static const UPDATE_OPERATION:uint = 3

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Data Services for Java EE 4.6
Wersje środowiska wykonawczego: Flash Player 10.2, AIR 2.6

An update operation.





[ X ]Dlaczego język angielski?
Treść dokumentacji języka ActionScript 3.0 wyświetlana w języku angielskim

Niektóre części dokumentacji języka ActionScript 3.0 nie są przetłumaczone na poszczególne języki. Gdy element nie jest przetłumaczony na dany język, jest wyświetlany tekst angielski. Na przykład opis klasy ga.controls.HelpBox nie jest przetłumaczony na żaden dodatkowy język. Z tego powodu polska wersja dokumentacji zawiera opis klasy ga.controls.HelpBox w języku angielskim.