View comments | RSS feed

flex.messaging.messages
Class AsyncMessage

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

public class AsyncMessage
extends AbstractMessage

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

See Also:
Serialized Form

Field Summary
static String SUBTOPIC_HEADER_NAME
          The name for the subtopic header if the message targets a destination subtopic.
 
Fields inherited from interface flex.messaging.messages.Message
DESTINATION_CLIENT_ID_HEADER, ENDPOINT_HEADER, FLEX_CLIENT_ID_HEADER, REMOTE_CREDENTIALS_CHARSET_HEADER, REMOTE_CREDENTIALS_HEADER, SYNC_HEADER
 
Constructor Summary
AsyncMessage()
          Default constructor for AsyncMessage.
 
Method Summary
 String getCorrelationId()
          Gets the correlationId of the AsyncMessage.
 void setCorrelationId(String correlationId)
          Sets the correlationId of the AsyncMessage.
 
Methods inherited from class flex.messaging.messages.AbstractMessage
clone, equals, getBody, getClientId, getDestination, getHeader, getHeaders, getMessageId, getTimestamp, getTimeToLive, hashCode, headerExists, logCategory, setBody, setClientId, setDestination, setHeader, setHeaders, setMessageId, setTimestamp, setTimeToLive, toString, toString
 
Methods inherited from class java.lang.Object
getClass, 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
Constructor Detail

AsyncMessage

public AsyncMessage()
Default constructor for AsyncMessage.

Method Detail

getCorrelationId

public String getCorrelationId()
Gets the correlationId of the AsyncMessage.

Returns:
correlationId

setCorrelationId

public void setCorrelationId(String correlationId)
Sets the correlationId of the AsyncMessage.

Parameters:
correlationId - The correlationId for the message.


Copyright © 2008 Adobe Systems Inc. All Rights Reserved.

Comments


Tangent Lin said on Jul 29, 2009 at 7:35 PM :
flex.messaging.messages.AbstractMessage class is not listed in the
package, yet a lot of important API's such as setDesination, setClientId are
there.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/messages/AsyncMessage.html