| Package | mx.messaging.messages |
| Class | public class AsyncMessage |
| Inheritance | AsyncMessage AbstractMessage Object |
| Subclasses | AcknowledgeMessage , CommandMessage , DataMessage |
| property | 정의 | ||
|---|---|---|---|
![]() | body : Object
메세지의 본문에는, 리모트 행선지에 전달할 필요가 있는 특정의 데이터가 포함됩니다.
| AbstractMessage | |
![]() | clientId : String
clientId 는, 메세지를 송신한 MessageAgent 를 나타냅니다.
| AbstractMessage | |
![]() | constructor : Object
특정의 object 인스턴스의 클래스 object 또는 constructor 함수에의 참조입니다.
| Object | |
| correlationId : String
메세지의 상관 ID 에의 액세스를 제공합니다.
| AsyncMessage | ||
![]() | destination : String
메세지의 행선지.
| AbstractMessage | |
![]() | headers : Object
메세지의 헤더는, 키가 헤더명, 값이 헤더치로서 포함되는 결합 배열입니다.
| AbstractMessage | |
![]() | messageId : String
메세지 고유의 ID.
| AbstractMessage | |
![]() | prototype : Object
[static]
클래스 또는 함수 object의 prototype object에의 참조입니다.
| Object | |
![]() | timestamp : Number
메세지의 일시 스탬프에의 액세스를 제공합니다.
| AbstractMessage | |
![]() | timeToLive : Number
메세지의 유효기간의 값은, 메세지가 유효해 전달 가능하다라고 보여지는 기간을 나타냅니다.
| AbstractMessage | |
| Methods | 정의 | ||
|---|---|---|---|
| AsyncMessage (body:Object = null, headers:Object = null)
본문과 해더가 empty의 AsyncMessage 인스턴스를 작성합니다.
| AsyncMessage | ||
![]() | hasOwnProperty (name:String ):Boolean
object로 지정된 property가 정의되고 있는지 어떤지를 나타냅니다.
| Object | |
![]() | isPrototypeOf (theClass:Object ):Boolean
Object 클래스의 인스턴스가, Parameters로서 지정된 object의 prototype 체인내에 있을지 어떨지를 나타냅니다.
| Object | |
![]() | propertyIsEnumerable (name:String ):Boolean
지정된 property가 존재해, 열거 가능한가 어떤가를 나타냅니다.
| Object | |
![]() | setPropertyIsEnumerable (name:String , isEnum:Boolean = true):void
루프 처리에 대한 다이나믹 property의 가용성을 설정합니다.
| Object | |
![]() | toString ():String
메세지의 string 표현을 돌려줍니다.
| AbstractMessage | |
![]() | valueOf ():Object
지정된 object의 원시적치를 돌려줍니다.
| Object | |
| 정수 | 정의 | ||
|---|---|---|---|
![]() | DESTINATION_CLIENT_ID_HEADER : String = "DSDstClientId" [static]
서버로부터 푸쉬 된 메세지가 배치로서 도착했을 때, 그 배치내의 메세지가 복수의 다른 컨슈머(consumer) 인스턴스를 타겟으로 하고 있을 가능성이 있습니다.
| AbstractMessage | |
![]() | ENDPOINT_HEADER : String = "DSEndpoint" [static]
메세지에는, 메세지가 송신되는 채널의 엔드 포인트 ID 의 태그가 부여됩니다.
| AbstractMessage | |
![]() | REMOTE_CREDENTIALS_HEADER : String = "DSRemoteCredentials" [static]
행선지의 리모트 증명서를 설정할 필요가 있는 메세지는, 이 헤더내에 Base64 encode 된 자격 정보를 보관 유지합니다.
| AbstractMessage | |
![]() | REQUEST_TIMEOUT_HEADER : String = "DSRequestTimeout" [static]
이 헤더는, 요구 타임 아웃을 정의해 송신되는 메세지에 사용됩니다.
| AbstractMessage | |
| SUBTOPIC_HEADER : String = "DSSubtopic" [static]
subtopic property가 정의된 MessageAgent 로부터 송신된 메세지에서는, 메세지의 타겟이 되는 서브 주제가 이 헤더내에 나타납니다. | AsyncMessage | ||
| correlationId | property |
public var correlationId:String
메세지의 상관 ID 에의 액세스를 제공합니다. 메세지의 응답과 분할에 사용됩니다. correlationId 에는, 이 메세지가 참조하기 전의 메세지의 messageId 가 포함됩니다.
See also
| AsyncMessage | () | constructor |
public 함수 AsyncMessage(body:Object = null, headers:Object = null)
본문과 해더가 empty의 AsyncMessage 인스턴스를 작성합니다. 이 디폴트 동작에 가세해 편의상의 목적으로 메세지의 본문과 헤더를 constructor 에 건네줄 수도 있습니다. 이하에, 이 방법으로 본문을 호출하는 예를 나타냅니다. var msg:AsyncMessage = new AsyncMessage("Body text"); 본문과 헤더의 양쪽 모두를 제공하는 예 var msg:AsyncMessage = new AsyncMessage("Body text", {"customerHeader":"customValue"});
body:Object (default = null) — 메세지에 할당하는 옵션의 본문입니다.
|
|
headers:Object (default = null) — 메세지에 할당하는 옵션의 헤더입니다.
|
| SUBTOPIC_HEADER | 정수 |
public static const SUBTOPIC_HEADER:String = "DSSubtopic"
subtopic property가 정의된 MessageAgent 로부터 송신된 메세지에서는, 메세지의 타겟이 되는 서브 주제가 이 헤더내에 나타납니다.
코멘트가 추가되었을 경우, 메일로 받기. | 코멘트 리포트
현재의 페이지: http://flexdocs.kr/docs/flex2/langref/mx/messaging/messages/AsyncMessage.html