패키지 | mx.data.messages |
클래스 | public class ManagedRemotingMessage |
상속 | ManagedRemotingMessage AsyncMessage AbstractMessage Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
런타임 버전: | Flash Player 10.2, AIR 2.6 |
속성 | 정의 주체 | ||
---|---|---|---|
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
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | 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 |
메서드 | 정의 주체 | ||
---|---|---|---|
Constructor. | ManagedRemotingMessage | ||
[정적]
Provides a description of the operation specified. | ManagedRemotingMessage | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
Returns a string representation of the message. | AbstractMessage | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
상수 | 정의 주체 | ||
---|---|---|---|
CREATE_OPERATION : uint = 0 [정적]
A create operation. | ManagedRemotingMessage | ||
DELETE_OPERATION : uint = 4 [정적]
A delete operation. | ManagedRemotingMessage | ||
FILL_ASSOCIATION_OPERATION : uint = 7 [정적]
A fill operation on an association. | ManagedRemotingMessage | ||
FILL_OPERATION : uint = 1 [정적]
A fill operation. | ManagedRemotingMessage | ||
FIND_ITEM_OPERATION : uint = 5 [정적]
A fill operation. | ManagedRemotingMessage | ||
GET_OPERATION : uint = 2 [정적]
A Get operation. | ManagedRemotingMessage | ||
INCLUDE_OPERATION : uint = 6 [정적]
For simple invocation of a ManagedRemoteService method. | ManagedRemotingMessage | ||
REMOTE_ALIAS : String = "flex.data.messages.ManagedRemotingMessage" [정적]
Remote alias specifying the fully qualified server side class corresponding
to this class. | ManagedRemotingMessage | ||
UNKNOWN_OPERATION : uint = 1000 [정적]
Code for an unknown operation type. | ManagedRemotingMessage | ||
UPDATE_OPERATION : uint = 3 [정적]
An update operation. | ManagedRemotingMessage |
operation | 속성 |
public var operation:uint
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
런타임 버전: | 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.
관련 API 요소
operationMethodName | 속성 |
public var operationMethodName:String
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
런타임 버전: | Flash Player 10, AIR 2.6 |
The target method to invoke on the managed remote service.
ManagedRemotingMessage | () | 생성자 |
public function ManagedRemotingMessage()
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
런타임 버전: | Flash Player 10.2, AIR 2.6 |
Constructor.
getOperationAsString | () | 메서드 |
public static function getOperationAsString(op:uint):String
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
런타임 버전: | Flash Player 10.2, AIR 2.6 |
Provides a description of the operation specified.
This method is used in toString()
operations on this message.
매개 변수
op:uint — The operation.
|
String — A String representation of the operation, or "unknown" if the operation is undefined.
|
예제 ( 예제 사용 방법 )
var msg:ManagedRemotingMessage = ManagedRemotingMessage(event.message); trace("Current operation -'"+ ManagedRemotingMessage.getOperationAsString(msg.operation)+ "'.");
CREATE_OPERATION | 상수 |
public static const CREATE_OPERATION:uint = 0
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
런타임 버전: | Flash Player 10.2, AIR 2.6 |
A create operation.
DELETE_OPERATION | 상수 |
public static const DELETE_OPERATION:uint = 4
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
런타임 버전: | Flash Player 10.2, AIR 2.6 |
A delete operation.
FILL_ASSOCIATION_OPERATION | 상수 |
public static const FILL_ASSOCIATION_OPERATION:uint = 7
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
런타임 버전: | 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 | 상수 |
public static const FILL_OPERATION:uint = 1
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
런타임 버전: | 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 | 상수 |
public static const FIND_ITEM_OPERATION:uint = 5
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
런타임 버전: | 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 | 상수 |
public static const GET_OPERATION:uint = 2
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
런타임 버전: | 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 | 상수 |
public static const INCLUDE_OPERATION:uint = 6
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
런타임 버전: | Flash Player 10.2, AIR 2.6 |
For simple invocation of a ManagedRemoteService method.
REMOTE_ALIAS | 상수 |
public static const REMOTE_ALIAS:String = "flex.data.messages.ManagedRemotingMessage"
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
런타임 버전: | Flash Player 10.2, AIR 2.6 |
Remote alias specifying the fully qualified server side class corresponding to this class.
UNKNOWN_OPERATION | 상수 |
public static const UNKNOWN_OPERATION:uint = 1000
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
런타임 버전: | Flash Player 10.2, AIR 2.6 |
Code for an unknown operation type.
UPDATE_OPERATION | 상수 |
public static const UPDATE_OPERATION:uint = 3
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Data Services for Java EE 4.6 |
런타임 버전: | Flash Player 10.2, AIR 2.6 |
An update operation.
Tue Jun 12 2018, 03:17 PM Z