|
|
@@ -43,41 +43,35 @@ class Zend_Amf_Value_Messaging_CommandMessage extends Zend_Amf_Value_Messaging_A
|
|
|
{
|
|
|
/**
|
|
|
* This operation is used to subscribe to a remote destination.
|
|
|
- * @const int
|
|
|
*/
|
|
|
const SUBSCRIBE_OPERATION = 0;
|
|
|
|
|
|
/**
|
|
|
* This operation is used to unsubscribe from a remote destination.
|
|
|
- * @const int
|
|
|
*/
|
|
|
const UNSUSBSCRIBE_OPERATION = 1;
|
|
|
|
|
|
/**
|
|
|
* This operation is used to poll a remote destination for pending,
|
|
|
* undelivered messages.
|
|
|
- * @const int
|
|
|
*/
|
|
|
const POLL_OPERATION = 2;
|
|
|
|
|
|
/**
|
|
|
* This operation is used by a remote destination to sync missed or cached messages
|
|
|
* back to a client as a result of a client issued poll command.
|
|
|
- * @const int
|
|
|
*/
|
|
|
const CLIENT_SYNC_OPERATION = 4;
|
|
|
|
|
|
/**
|
|
|
* This operation is used to test connectivity over the current channel to
|
|
|
* the remote endpoint.
|
|
|
- * @const int
|
|
|
*/
|
|
|
const CLIENT_PING_OPERATION = 5;
|
|
|
|
|
|
/**
|
|
|
* This operation is used to request a list of failover endpoint URIs
|
|
|
* for the remote destination based on cluster membership.
|
|
|
- * @const int
|
|
|
*/
|
|
|
const CLUSTER_REQUEST_OPERATION = 7;
|
|
|
|
|
|
@@ -86,40 +80,34 @@ class Zend_Amf_Value_Messaging_CommandMessage extends Zend_Amf_Value_Messaging_A
|
|
|
* the user can be logged in over the current channel.
|
|
|
* The credentials need to be Base64 encoded and stored in the <code>body</code>
|
|
|
* of the message.
|
|
|
- * @const int
|
|
|
*/
|
|
|
const LOGIN_OPERATION = 8;
|
|
|
|
|
|
/**
|
|
|
* This operation is used to log the user out of the current channel, and
|
|
|
* will invalidate the server session if the channel is HTTP based.
|
|
|
- * @const int
|
|
|
*/
|
|
|
const LOGOUT_OPERATION = 9;
|
|
|
|
|
|
/**
|
|
|
* This operation is used to indicate that the client's subscription to a
|
|
|
* remote destination has been invalidated.
|
|
|
- * @const int
|
|
|
*/
|
|
|
const SESSION_INVALIDATE_OPERATION = 10;
|
|
|
|
|
|
/**
|
|
|
* This operation is used by the MultiTopicConsumer to subscribe/unsubscribe
|
|
|
* from multiple subtopics/selectors in the same message.
|
|
|
- * @const int
|
|
|
*/
|
|
|
const MULTI_SUBSCRIBE_OPERATION = 11;
|
|
|
|
|
|
/**
|
|
|
* This operation is used to indicate that a channel has disconnected
|
|
|
- * @const int
|
|
|
*/
|
|
|
const DISCONNECT_OPERATION = 12;
|
|
|
|
|
|
/**
|
|
|
* This is the default operation for new CommandMessage instances.
|
|
|
- * @const int
|
|
|
*/
|
|
|
const UNKNOWN_OPERATION = 10000;
|
|
|
|