flex.messaging.messages
Class AsyncMessage

java.lang.Object
  extended byflex.messaging.messages.AbstractMessage
      extended byflex.messaging.messages.AsyncMessage
All Implemented Interfaces:
Cloneable, Message, Serializable
Direct Known Subclasses:
CommandMessage

public class AsyncMessage
extends flex.messaging.messages.AbstractMessage

This type of message contains information necessary to perform point-to-point or publish-subscribe messaging.

See Also:
Serialized Form

Field Summary
protected  String correlationId
           
static String SUBTOPIC_HEADER_NAME
          The name for the subtopic header if the message targets a destination subtopic.
 
Fields inherited from class flex.messaging.messages.AbstractMessage
body, clientId, destination, headers, messageId, timestamp, timeToLive
 
Fields inherited from interface flex.messaging.messages.Message
DESTINATION_CLIENT_ID_HEADER, ENDPOINT_HEADER, REMOTE_CREDENTIALS_HEADER
 
Constructor Summary
AsyncMessage()
           
 
Method Summary
 String getCorrelationId()
           
 void setCorrelationId(String correlationId)
           
protected  String toStringFields(int indentLevel)
           
 
Methods inherited from class flex.messaging.messages.AbstractMessage
bodyToString, clone, equals, getBody, getClientId, getDestination, getFieldSeparator, getHeader, getHeaders, getIndent, getMessageId, getTimestamp, getTimeToLive, headerExists, internalBodyToString, logCategory, setBody, setClientId, setDestination, setHeader, setHeaders, setMessageId, setTimestamp, setTimeToLive, toString, toString, toStringHeader
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SUBTOPIC_HEADER_NAME

public static final String SUBTOPIC_HEADER_NAME
The name for the subtopic header if the message targets a destination subtopic.

See Also:
Constant Field Values

correlationId

protected String correlationId
Constructor Detail

AsyncMessage

public AsyncMessage()
Method Detail

getCorrelationId

public String getCorrelationId()

setCorrelationId

public void setCorrelationId(String correlationId)

toStringFields

protected String toStringFields(int indentLevel)


Copyright © 2006 Adobe Systems Inc. All Rights Reserved. (Updated August 2, 2006)

Take a survey