패키지 | mx.messaging |
클래스 | public class MessageResponder |
상속 | MessageResponder Responder Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
result()
or status()
callback
on the MessageResponder. MessageResponder subclasses should override these
methods to perform any necessary processing. For every response, whether a
successful result or an error, the MessageResponder should invoke
acknowledge()
on its agent. If the response was a fault, the
MessageResponder should also invoke fault()
on its agent.
속성 | 정의 주체 | ||
---|---|---|---|
agent : MessageAgent [읽기 전용]
Provides access to the MessageAgent that sent the message. | MessageResponder | ||
channel : Channel [읽기 전용]
Provides access to the Channel used to send the message. | MessageResponder | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
message : IMessage
Provides access to the sent Message. | MessageResponder |
메서드 | 정의 주체 | ||
---|---|---|---|
Constructs a MessageResponder to handle the response for the specified
Message for the specified MessageAgent. | MessageResponder | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
Called by the channel that created this MessageResponder when a
response returns from the destination. | MessageResponder | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
Called by the channel that created this MessageResponder when a fault
response returns from the destination. | MessageResponder | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
메서드 | 정의 주체 | ||
---|---|---|---|
Constructs an ErrorMessage that can be passed to the associated
MessageAgent's callbacks upon a request timeout. | MessageResponder | ||
Subclasses must override this method to handle a request timeout and
invoke the proper callbacks on the associated MessageAgent. | MessageResponder | ||
Subclasses must override this method to perform custom processing of
the result and invoke the proper callbacks on the associated
MessageAgent. | MessageResponder | ||
Subclasses must override this method to perform custom processing of
the status and invoke the proper callbacks on the associated
MessageAgent. | MessageResponder |
agent | 속성 |
agent:MessageAgent
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Provides access to the MessageAgent that sent the message.
구현
public function get agent():MessageAgent
channel | 속성 |
message | 속성 |
MessageResponder | () | 생성자 |
public function MessageResponder(agent:MessageAgent, message:IMessage, channel:Channel = null)
언어 버전: | ActionScript 3.0 |
제품 버전: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Constructs a MessageResponder to handle the response for the specified Message for the specified MessageAgent.
매개 변수agent:MessageAgent — The MessageAgent sending the Message.
| |
message:IMessage — The Message being sent.
| |
channel:Channel (default = null ) — The Channel used to send.
|
createRequestTimeoutErrorMessage | () | 메서드 |
protected function createRequestTimeoutErrorMessage():ErrorMessage
언어 버전: | ActionScript 3.0 |
제품 버전: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Constructs an ErrorMessage that can be passed to the associated MessageAgent's callbacks upon a request timeout.
반환값ErrorMessage — Returns an ErrorMessage that can be passed to the associated
MessageAgent's callbacks upon a request timeout.
|
requestTimedOut | () | 메서드 |
protected function requestTimedOut():void
언어 버전: | ActionScript 3.0 |
제품 버전: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Subclasses must override this method to handle a request timeout and invoke the proper callbacks on the associated MessageAgent.
result | () | 메서드 |
public final function result(message:IMessage):void
언어 버전: | ActionScript 3.0 |
제품 버전: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Called by the channel that created this MessageResponder when a
response returns from the destination.
This method performs core result processing and then invokes the
resultHandler()
method that subclasses may override to
perform any necessary custom processing.
매개 변수
message:IMessage — The result Message returned by the destination.
|
resultHandler | () | 메서드 |
protected function resultHandler(message:IMessage):void
언어 버전: | ActionScript 3.0 |
제품 버전: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Subclasses must override this method to perform custom processing of the result and invoke the proper callbacks on the associated MessageAgent.
매개 변수
message:IMessage — The result Message returned by the destination.
|
status | () | 메서드 |
public final function status(message:IMessage):void
언어 버전: | ActionScript 3.0 |
제품 버전: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Called by the channel that created this MessageResponder when a fault
response returns from the destination.
This method performs core result processing and then invokes the
statusHandler()
method that subclasses may override to
perform any necessary custom processing.
매개 변수
message:IMessage — The fault Message returned by the destination.
|
statusHandler | () | 메서드 |
protected function statusHandler(message:IMessage):void
언어 버전: | ActionScript 3.0 |
제품 버전: | BlazeDS 4, Adobe Digital Enterprise Platform Data Services for Java EE 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Subclasses must override this method to perform custom processing of the status and invoke the proper callbacks on the associated MessageAgent.
매개 변수
message:IMessage — The fault Message returned by the destination.
|
Tue Jun 12 2018, 03:17 PM Z