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
,SequencedMessage
Base class for for asynchronous Flex compatibility messages.
- Author:
- The Red5 Project, Joachim Bauch (jojo@struktur.de), Paul Gregoire (mondain@gmail.com)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static byte
protected static byte
Id of message this message belongs to.protected byte[]
(package private) static org.slf4j.Logger
private static final long
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addParameters
(StringBuilder result) Add message properties to string.void
void
void
writeExternal
(IDataOutput output) 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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
CORRELATION_ID_FLAG
protected static byte CORRELATION_ID_FLAG -
CORRELATION_ID_BYTES_FLAG
protected static byte CORRELATION_ID_BYTES_FLAG -
correlationId
Id of message this message belongs to. -
correlationIdBytes
protected byte[] correlationIdBytes -
log
static org.slf4j.Logger log
-
-
Constructor Details
-
AsyncMessage
public AsyncMessage()
-
-
Method Details
-
addParameters
Add message properties to string.- Overrides:
addParameters
in classAbstractMessage
- Parameters:
result
-StringBuilder
to add properties to
-
setCorrelationId
-
getCorrelationId
-
readExternal
- Overrides:
readExternal
in classAbstractMessage
-
writeExternal
- Overrides:
writeExternal
in classAbstractMessage
-