Class RemotingMessage
- java.lang.Object
-
- org.red5.compatibility.flex.messaging.messages.AbstractMessage
-
- org.red5.compatibility.flex.messaging.messages.RPCMessage
-
- org.red5.compatibility.flex.messaging.messages.RemotingMessage
-
- All Implemented Interfaces:
Serializable,Message
public class RemotingMessage extends RPCMessage
Flex compatibility message that is sent by themx:RemoteObjectmxml tag.- Author:
- The Red5 Project, Joachim Bauch (jojo@struktur.de)
- See Also:
- Action Message Format, Apache Flex, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description StringoperationMethod to execute.StringsourceValue of thesourceattribute of mx:RemoteObject that sent the message.-
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 RemotingMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddParameters(StringBuilder result)Add message properties to string.StringgetOperation()Object[]getParameters()StringgetSource()voidsetOperation(String operation)voidsetParameters(Object... params)voidsetSource(String source)-
Methods inherited from class org.red5.compatibility.flex.messaging.messages.RPCMessage
getRemotePassword, getRemoteUsername, setRemotePassword, setRemoteUsername, writeExternal
-
Methods inherited from class org.red5.compatibility.flex.messaging.messages.AbstractMessage
getBody, getClientId, getDestination, getHeader, getHeaders, getMessageId, getTimestamp, getTimeToLive, headerExists, readExternal, readFlags, setBody, setClientId, setDestination, setHeader, setHeaders, setMessageId, setTimestamp, setTimeToLive, toString
-
-
-
-
Method Detail
-
getOperation
public String getOperation()
-
setOperation
public void setOperation(String operation)
-
getSource
public String getSource()
-
setSource
public void setSource(String source)
-
getParameters
public Object[] getParameters()
-
setParameters
public void setParameters(Object... params)
-
addParameters
protected void addParameters(StringBuilder result)
Add message properties to string.- Overrides:
addParametersin classRPCMessage- Parameters:
result-StringBuilderto add properties to
-
-