This page was saved using jaction on 09/04/06 8:33:21.
Address: http://flexdocs.kr/docs/flex2/langref/mx/messaging/messages/AbstractMessage.html
Title: mx.messaging.messages.AbstractMessage (Flex™ 2 레퍼런스 가이드)  •  Size: 34486
(Flex Data Services 전용)
Packagemx.messaging.messages
Classpublic class AbstractMessage
InheritanceAbstractMessage Inheritance Object
ImplementsIMessage
SubclassesAsyncMessage , HTTPRequestMessage , RemotingMessage

모든 메세지의 추상 기본 클래스. 메세지에는, 2 개의 customize 가능한 섹션 (헤더 및 본문)이 있습니다. headers property는, 특정의 메세지 인스턴스의 특화한 메타 정보에의 액세스를 제공합니다. headers property는, 고유의 헤더명을 키로서 가지는 결합 배열입니다.

메세지의 본문에는, 리모트 행선지에 의해 전달 및 처리될 필요가 있는 인스턴스 고유의 데이터가 포함됩니다. body 는 object로, 메세지의 유료 하중이 됩니다.



Public property
 property정의
  body : Object
메세지의 본문에는, 리모트 행선지에 전달할 필요가 있는 특정의 데이터가 포함됩니다.
AbstractMessage
  clientId : String
clientId 는, 메세지를 송신한 MessageAgent 를 나타냅니다.
AbstractMessage
 Inheritedconstructor : Object
특정의 object 인스턴스의 클래스 object 또는 constructor    함수에의 참조입니다.
Object
  destination : String
메세지의 행선지.
AbstractMessage
  headers : Object
메세지의 헤더는, 키가 헤더명, 값이 헤더치로서 포함되는 결합 배열입니다.
AbstractMessage
  messageId : String
메세지 고유의 ID.
AbstractMessage
 Inheritedprototype : Object
[static] 클래스 또는 함수 object의 prototype object에의 참조입니다.
Object
  timestamp : Number
메세지의 일시 스탬프에의 액세스를 제공합니다.
AbstractMessage
  timeToLive : Number
메세지의 유효기간의 값은, 메세지가 유효해 전달 가능하다라고 보여지는 기간을 나타냅니다.
AbstractMessage
Public Methods
 Methods정의
  AbstractMessage ()
본문과 해더가 empty의 AbstractMessage 인스턴스를 작성합니다.
AbstractMessage
 InheritedhasOwnProperty (name:String ):Boolean
object로 지정된 property가 정의되고 있는지 어떤지를 나타냅니다.
Object
 InheritedisPrototypeOf (theClass:Object ):Boolean
Object 클래스의 인스턴스가, Parameters로서 지정된 object의 prototype 체인내에 있을지 어떨지를 나타냅니다.
Object
 InheritedpropertyIsEnumerable (name:String ):Boolean
지정된 property가 존재해, 열거 가능한가 어떤가를 나타냅니다.
Object
 InheritedsetPropertyIsEnumerable (name:String , isEnum:Boolean = true):void
루프 처리에 대한 다이나믹 property의 가용성을 설정합니다.
Object
  toString ():String
메세지의 string 표현을 돌려줍니다.
AbstractMessage
 InheritedvalueOf ():Object
지정된 object의 원시적치를 돌려줍니다.
Object
Public 정수
 정수정의
  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
property의 상세
bodyproperty
body:Object   [read-write]

메세지의 본문에는, 리모트 행선지에 전달할 필요가 있는 특정의 데이터가 포함됩니다.

Implements
    public function get body():Object
    public function set body(value:Object ):void
clientIdproperty 
clientId:String   [read-write]

clientId 는, 메세지를 송신한 MessageAgent 를 나타냅니다.

Implements
    public function get clientId():String
    public function set clientId(value:String ):void
destinationproperty 
destination:String   [read-write]

메세지의 행선지.

Implements
    public function get destination():String
    public function set destination(value:String ):void
headersproperty 
headers:Object   [read-write]

메세지의 헤더는, 키가 헤더명, 값이 헤더치로서 포함되는 결합 배열입니다. 이 property는, 특정의 메세지 인스턴스의 특화한 메타 정보에의 액세스를 제공합니다. 코어 헤더명은 'DS'의 접두사로 시작됩니다. 커스텀의 헤더명은, 이름의 경합을 피하기 (위해)때문에, 고유의 접두사로 시작할 필요가 있습니다.

Implements
    public function get headers():Object
    public function set headers(value:Object ):void
messageIdproperty 
messageId:String   [read-write]

메세지 고유의 ID. 메세지 ID 를 사용해, 요구와 응답의 메시징 시나리오로, 응답을 원의 요구 메세지에 관련지을 수가 있습니다.

Implements
    public function get messageId():String
    public function set messageId(value:String ):void
timestampproperty 
timestamp:Number   [read-write]

메세지의 일시 스탬프에의 액세스를 제공합니다. 일시 스탬프는, 메세지가 송신된 일자와 시간입니다. 일시 스탬프는, 시스템내에서 메세지를 추적해, 서비스 레벨의 품질의 프로텍션 및 메세지의 유효기간의 메카니즘을 제공하기 위해서 사용됩니다.

Implements
    public function get timestamp():Number
    public function set timestamp(value:Number ):void

See also

timeToLiveproperty 
timeToLive:Number   [read-write]

메세지의 유효기간의 값은, 메세지가 유효해 전달 가능하다라고 보여지는 기간을 나타냅니다. 이 값은,timestamp 값와 조합해 사용합니다. 유효기간은, 이 메세지가 유효한 상태를 유지하는, 지정된 timestamp 값로부터의 밀리 세컨드수입니다. 예를 들어,timestamp 값가 04/05/05 1:30:45 PST 로 timeToLive 값가 5000 의 경우, 이 메세지는 04/05/05 1:30:50 PST 로 기한 마감이 됩니다. 유효기간이 끊어진 메세지는, 다른 어느 클라이언트에도 전달되지 않습니다.

Implements
    public function get timeToLive():Number
    public function set timeToLive(value:Number ):void
constructor    의 상세
AbstractMessage()constructor   
public 함수 AbstractMessage()

본문과 해더가 empty의 AbstractMessage 인스턴스를 작성합니다. 이 메세지 타입은, 직접 인스턴스화 또는 사용하지 말아 주세요.

Methods의 상세
toString()Methods
public function toString():String

메세지의 string 표현을 돌려줍니다.

반환값
String — 메세지의 string 표현입니다.
정수의 상세
DESTINATION_CLIENT_ID_HEADER정수
public static const DESTINATION_CLIENT_ID_HEADER:String = "DSDstClientId"

서버로부터 푸쉬 된 메세지가 배치로서 도착했을 때, 그 배치내의 메세지가 복수의 다른 컨슈머(consumer) 인스턴스를 타겟으로 하고 있을 가능성이 있습니다. 각 메세지에는 이 헤더가 포함되어 있어 메세지를 수신하는 컨슈머(consumer) 인스턴스가 식별됩니다.

ENDPOINT_HEADER정수 
public static const ENDPOINT_HEADER:String = "DSEndpoint"

메세지에는, 메세지가 송신되는 채널의 엔드 포인트 ID 의 태그가 부여됩니다. 각 채널에서는 메세지의 송신시에 이 값이 자동적으로 설정됩니다.

REMOTE_CREDENTIALS_HEADER정수 
public static const REMOTE_CREDENTIALS_HEADER:String = "DSRemoteCredentials"

행선지의 리모트 증명서를 설정할 필요가 있는 메세지는, 이 헤더내에 Base64 encode 된 자격 정보를 보관 유지합니다.

REQUEST_TIMEOUT_HEADER정수 
public static const REQUEST_TIMEOUT_HEADER:String = "DSRequestTimeout"

이 헤더는, 요구 타임 아웃을 정의해 송신되는 메세지에 사용됩니다. 요구 타임 아웃의 값은 서비스 또는 채널에 의해 출력 메세지로 설정되어 대응하는 MessageResponder 가 요구를 타임 아웃 하기까지 승인, 결과, 또는 fault의 응답을 기다리는 시간을 제어합니다.







 

코멘트가 추가되었을 경우, 메일로 받기. | 코멘트 리포트

현재의 페이지: http://flexdocs.kr/docs/flex2/langref/mx/messaging/messages/AbstractMessage.html