org.red5.compatibility.flex.messaging.messages
Class AsyncMessageExt

java.lang.Object
  extended by org.red5.compatibility.flex.messaging.messages.AbstractMessage
      extended by org.red5.compatibility.flex.messaging.messages.AsyncMessage
          extended by org.red5.compatibility.flex.messaging.messages.AsyncMessageExt
All Implemented Interfaces:
Serializable, Message, IExternalizable

public class AsyncMessageExt
extends AsyncMessage
implements IExternalizable

An externalizable version of a given AsyncMessage. The class alias for this class within flex is "DSA".

Author:
Paul Gregoire ([email protected])
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.red5.compatibility.flex.messaging.messages.AsyncMessage
CORRELATION_ID_BYTES_FLAG, CORRELATION_ID_FLAG, correlationId, correlationIdBytes
 
Fields inherited from class org.red5.compatibility.flex.messaging.messages.AbstractMessage
body, clientId, clientIdBytes, destination, headers, messageId, messageIdBytes, timestamp, timeToLive
 
Fields inherited from interface org.red5.compatibility.flex.messaging.messages.Message
DESTINATION_CLIENT_ID_HEADER, ENDPOINT_HEADER, FLEX_CLIENT_ID_HEADER, MESSAGING_VERSION, NEEDS_CONFIG_HEADER, POLL_WAIT_HEADER, PRESERVE_DURABLE_HEADER, REMOTE_CREDENTIALS_HEADER, REMOVE_SUBSCRIPTIONS, SELECTOR_HEADER, SUBSCRIPTION_INVALIDATED_HEADER, SUBTOPIC_SEPARATOR, SYNC_HEADER
 
Constructor Summary
AsyncMessageExt()
           
AsyncMessageExt(AsyncMessage message)
           
 
Method Summary
 AsyncMessage getMessage()
           
 void setMessage(AsyncMessage message)
           
 void writeExternal(IDataOutput output)
          Store custom object to stream.
 
Methods inherited from class org.red5.compatibility.flex.messaging.messages.AsyncMessage
addParameters, getCorrelationId, readExternal, setCorrelationId
 
Methods inherited from class org.red5.compatibility.flex.messaging.messages.AbstractMessage
getBody, getClientId, getDestination, getHeader, getHeaders, getMessageId, getTimestamp, getTimeToLive, headerExists, readFlags, setBody, setClientId, setDestination, setHeader, setHeaders, setMessageId, setTimestamp, setTimeToLive, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.red5.io.amf3.IExternalizable
readExternal
 

Constructor Detail

AsyncMessageExt

public AsyncMessageExt()

AsyncMessageExt

public AsyncMessageExt(AsyncMessage message)
Method Detail

setMessage

public void setMessage(AsyncMessage message)

getMessage

public AsyncMessage getMessage()

writeExternal

public void writeExternal(IDataOutput output)
Description copied from interface: IExternalizable
Store custom object to stream.

Specified by:
writeExternal in interface IExternalizable
Overrides:
writeExternal in class AsyncMessage
Parameters:
output - object to be used for data storing


Copyright © 2006-2012 The Red5 Project