Class AsyncMessageExt
- java.lang.Object
-
- org.red5.compatibility.flex.messaging.messages.AbstractMessage
-
- org.red5.compatibility.flex.messaging.messages.AsyncMessage
-
- 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 (mondain@gmail.com)
- 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
Constructors Constructor Description AsyncMessageExt()AsyncMessageExt(AsyncMessage message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsyncMessagegetMessage()voidsetMessage(AsyncMessage message)voidwriteExternal(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:IExternalizableStore custom object to stream.- Specified by:
writeExternalin interfaceIExternalizable- Overrides:
writeExternalin classAsyncMessage- Parameters:
output- object to be used for data storing
-
-