flex.messaging.messages
Class CommandMessage

java.lang.Object
  extended by flex.messaging.messages.AbstractMessage
      extended by flex.messaging.messages.AsyncMessage
          extended by flex.messaging.messages.CommandMessage
All Implemented Interfaces:
Message, Serializable

public class CommandMessage
extends AsyncMessage

Author:
Franck WOLFF
See Also:
Serialized Form

Field Summary
static int CLIENT_PING_OPERATION
           
static int CLIENT_SYNC_OPERATION
           
static int CLUSTER_REQUEST_OPERATION
           
static int CONNECT_OPERATION
           
static int DISCONNECT_OPERATION
           
static int LOGIN_OPERATION
           
static int LOGOUT_OPERATION
           
static int POLL_OPERATION
           
static String SELECTOR_HEADER
           
static int SESSION_INVALIDATE_OPERATION
           
static int SUBSCRIBE_OPERATION
           
static int UNKNOWN_OPERATION
           
static int UNSUBSCRIBE_OPERATION
           
 
Fields inherited from class flex.messaging.messages.AsyncMessage
DESTINATION_CLIENT_ID_HEADER, SUBTOPIC_HEADER
 
Fields inherited from interface flex.messaging.messages.Message
DS_ID_HEADER, ENDPOINT_HEADER, HIDDEN_CREDENTIALS, REMOTE_CREDENTIALS_HEADER
 
Constructor Summary
CommandMessage()
           
 
Method Summary
 String getMessageRefType()
           
 int getOperation()
           
 boolean isClientPingOperation()
           
 boolean isLoginOperation()
           
 boolean isLogoutOperation()
           
 boolean isSecurityOperation()
           
 void setMessageRefType(String messageRefType)
           
 void setOperation(int operation)
           
 String toString()
           
 String toString(String indent)
           
 
Methods inherited from class flex.messaging.messages.AsyncMessage
clone, getCorrelationId, setCorrelationId, toString
 
Methods inherited from class flex.messaging.messages.AbstractMessage
getBody, getClientId, getDestination, getHeader, getHeaders, getMessageId, getTimestamp, getTimeToLive, headerExists, setBody, setClientId, setDestination, setHeader, setHeaders, setMessageId, setTimestamp, setTimeToLive
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SELECTOR_HEADER

public static final String SELECTOR_HEADER
See Also:
Constant Field Values

SUBSCRIBE_OPERATION

public static final int SUBSCRIBE_OPERATION
See Also:
Constant Field Values

UNSUBSCRIBE_OPERATION

public static final int UNSUBSCRIBE_OPERATION
See Also:
Constant Field Values

POLL_OPERATION

public static final int POLL_OPERATION
See Also:
Constant Field Values

CLIENT_SYNC_OPERATION

public static final int CLIENT_SYNC_OPERATION
See Also:
Constant Field Values

CLIENT_PING_OPERATION

public static final int CLIENT_PING_OPERATION
See Also:
Constant Field Values

CLUSTER_REQUEST_OPERATION

public static final int CLUSTER_REQUEST_OPERATION
See Also:
Constant Field Values

LOGIN_OPERATION

public static final int LOGIN_OPERATION
See Also:
Constant Field Values

LOGOUT_OPERATION

public static final int LOGOUT_OPERATION
See Also:
Constant Field Values

SESSION_INVALIDATE_OPERATION

public static final int SESSION_INVALIDATE_OPERATION
See Also:
Constant Field Values

UNKNOWN_OPERATION

public static final int UNKNOWN_OPERATION
See Also:
Constant Field Values

CONNECT_OPERATION

public static final int CONNECT_OPERATION
See Also:
Constant Field Values

DISCONNECT_OPERATION

public static final int DISCONNECT_OPERATION
See Also:
Constant Field Values
Constructor Detail

CommandMessage

public CommandMessage()
Method Detail

getMessageRefType

public String getMessageRefType()

setMessageRefType

public void setMessageRefType(String messageRefType)

getOperation

public int getOperation()

setOperation

public void setOperation(int operation)

isSecurityOperation

public boolean isSecurityOperation()

isLoginOperation

public boolean isLoginOperation()

isLogoutOperation

public boolean isLogoutOperation()

isClientPingOperation

public boolean isClientPingOperation()

toString

public String toString()
Overrides:
toString in class AsyncMessage

toString

public String toString(String indent)
Specified by:
toString in interface Message
Overrides:
toString in class AsyncMessage