org.red5.compatibility.flex.messaging.messages
Class AsyncMessage
java.lang.Object
org.red5.compatibility.flex.messaging.messages.AbstractMessage
org.red5.compatibility.flex.messaging.messages.AsyncMessage
- All Implemented Interfaces:
- Serializable, Message
- Direct Known Subclasses:
- AcknowledgeMessage, AsyncMessageExt, CommandMessage, DataMessage, ErrorMessage, RemotingMessage, SequencedMessage
public class AsyncMessage
- extends AbstractMessage
Base class for for asynchronous Flex compatibility messages.
- Author:
- The Red5 Project ([email protected]), Joachim Bauch ([email protected]), Paul Gregoire ([email protected])
- See Also:
- Serialized Form
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 |
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 |
CORRELATION_ID_FLAG
protected static byte CORRELATION_ID_FLAG
CORRELATION_ID_BYTES_FLAG
protected static byte CORRELATION_ID_BYTES_FLAG
correlationId
public String correlationId
- Id of message this message belongs to.
correlationIdBytes
protected byte[] correlationIdBytes
AsyncMessage
public AsyncMessage()
addParameters
protected void addParameters(StringBuilder result)
- Add message properties to string.
- Overrides:
addParameters
in class AbstractMessage
- Parameters:
result
- StringBuilder
to add properties to
setCorrelationId
public void setCorrelationId(String id)
getCorrelationId
public String getCorrelationId()
readExternal
public void readExternal(IDataInput in)
- Overrides:
readExternal
in class AbstractMessage
writeExternal
public void writeExternal(IDataOutput output)
- Overrides:
writeExternal
in class AbstractMessage
Copyright © 2006-2012 The Red5 Project