activemq::connector::stomp::commands::CommandConstants Class Reference

#include <CommandConstants.h>

List of all members.

Public Types

enum  CommandId {
  CONNECT, CONNECTED, DISCONNECT, SUBSCRIBE,
  UNSUBSCRIBE, MESSAGE, SEND, BEGIN,
  COMMIT, ABORT, ACK, ERROR_CMD,
  RECEIPT, NUM_COMMANDS
}
enum  StompHeader {
  HEADER_DESTINATION, HEADER_TRANSACTIONID, HEADER_CONTENTLENGTH, HEADER_SESSIONID,
  HEADER_RECEIPT_REQUIRED, HEADER_RECEIPTID, HEADER_MESSAGEID, HEADER_ACK,
  HEADER_LOGIN, HEADER_PASSWORD, HEADER_CLIENT_ID, HEADER_MESSAGE,
  HEADER_CORRELATIONID, HEADER_REQUESTID, HEADER_RESPONSEID, HEADER_EXPIRES,
  HEADER_PERSISTANT, HEADER_REPLYTO, HEADER_TYPE, HEADER_AMQMSGTYPE,
  HEADER_JMSXGROUPID, HEADER_JMSXGROUPSEQNO, HEADER_DISPATCH_ASYNC, HEADER_EXCLUSIVE,
  HEADER_MAXPENDINGMSGLIMIT, HEADER_NOLOCAL, HEADER_PREFETCHSIZE, HEADER_JMSPRIORITY,
  HEADER_CONSUMERPRIORITY, HEADER_RETROACTIVE, HEADER_SUBSCRIPTIONNAME, HEADER_TIMESTAMP,
  HEADER_REDELIVERED, HEADER_REDELIVERYCOUNT, HEADER_SELECTOR, HEADER_ID,
  HEADER_SUBSCRIPTION, NUM_STOMP_HEADERS
}
enum  AckMode { ACK_CLIENT, ACK_AUTO, NUM_ACK_MODES }
enum  MessageType { TEXT, BYTES, NUM_MSG_TYPES }

Static Public Member Functions

static const std::string & toString (const CommandId cmd)
static CommandId toCommandId (const std::string &cmd)
static std::string toString (const StompHeader header)
static StompHeader toStompHeader (const std::string &header)
static std::string toString (const AckMode mode)
static AckMode toAckMode (const std::string &mode)
static std::string toString (const MessageType type)
static MessageType toMessageType (const std::string &type)
static cms::Destination * toDestination (const std::string &dest) throw ( exceptions::IllegalArgumentException )

Static Public Attributes

static const char * queuePrefix = "/queue/"
static const char * topicPrefix = "/topic/"

Static Private Attributes

static StaticInitializer staticInits

Classes

class  StaticInitializer


Member Enumeration Documentation

enum activemq::connector::stomp::commands::CommandConstants::AckMode
 

Enumerator:
ACK_CLIENT 
ACK_AUTO 
NUM_ACK_MODES 

enum activemq::connector::stomp::commands::CommandConstants::CommandId
 

Enumerator:
CONNECT 
CONNECTED 
DISCONNECT 
SUBSCRIBE 
UNSUBSCRIBE 
MESSAGE 
SEND 
BEGIN 
COMMIT 
ABORT 
ACK 
ERROR_CMD 
RECEIPT 
NUM_COMMANDS 

enum activemq::connector::stomp::commands::CommandConstants::MessageType
 

Enumerator:
TEXT 
BYTES 
NUM_MSG_TYPES 

enum activemq::connector::stomp::commands::CommandConstants::StompHeader
 

Enumerator:
HEADER_DESTINATION 
HEADER_TRANSACTIONID 
HEADER_CONTENTLENGTH 
HEADER_SESSIONID 
HEADER_RECEIPT_REQUIRED 
HEADER_RECEIPTID 
HEADER_MESSAGEID 
HEADER_ACK 
HEADER_LOGIN 
HEADER_PASSWORD 
HEADER_CLIENT_ID 
HEADER_MESSAGE 
HEADER_CORRELATIONID 
HEADER_REQUESTID 
HEADER_RESPONSEID 
HEADER_EXPIRES 
HEADER_PERSISTANT 
HEADER_REPLYTO 
HEADER_TYPE 
HEADER_AMQMSGTYPE 
HEADER_JMSXGROUPID 
HEADER_JMSXGROUPSEQNO 
HEADER_DISPATCH_ASYNC 
HEADER_EXCLUSIVE 
HEADER_MAXPENDINGMSGLIMIT 
HEADER_NOLOCAL 
HEADER_PREFETCHSIZE 
HEADER_JMSPRIORITY 
HEADER_CONSUMERPRIORITY 
HEADER_RETROACTIVE 
HEADER_SUBSCRIPTIONNAME 
HEADER_TIMESTAMP 
HEADER_REDELIVERED 
HEADER_REDELIVERYCOUNT 
HEADER_SELECTOR 
HEADER_ID 
HEADER_SUBSCRIPTION 
NUM_STOMP_HEADERS 


Member Function Documentation

static AckMode activemq::connector::stomp::commands::CommandConstants::toAckMode const std::string &  mode  )  [inline, static]
 

static CommandId activemq::connector::stomp::commands::CommandConstants::toCommandId const std::string &  cmd  )  [inline, static]
 

cms::Destination * CommandConstants::toDestination const std::string &  dest  )  throw ( exceptions::IllegalArgumentException ) [static]
 

static MessageType activemq::connector::stomp::commands::CommandConstants::toMessageType const std::string &  type  )  [inline, static]
 

static StompHeader activemq::connector::stomp::commands::CommandConstants::toStompHeader const std::string &  header  )  [inline, static]
 

static std::string activemq::connector::stomp::commands::CommandConstants::toString const MessageType  type  )  [inline, static]
 

static std::string activemq::connector::stomp::commands::CommandConstants::toString const AckMode  mode  )  [inline, static]
 

static std::string activemq::connector::stomp::commands::CommandConstants::toString const StompHeader  header  )  [inline, static]
 

static const std::string& activemq::connector::stomp::commands::CommandConstants::toString const CommandId  cmd  )  [inline, static]
 


Member Data Documentation

const char * CommandConstants::queuePrefix = "/queue/" [static]
 

CommandConstants::StaticInitializer CommandConstants::staticInits [static, private]
 

const char * CommandConstants::topicPrefix = "/topic/" [static]
 


The documentation for this class was generated from the following files:
Generated on Thu Aug 3 18:03:32 2006 for activemq-cpp by  doxygen 1.4.5