activemq::connector::SessionInfo Class Reference

#include <SessionInfo.h>

Inheritance diagram for activemq::connector::SessionInfo:

activemq::connector::ConnectorResource activemq::connector::stomp::StompSessionInfo List of all members.

Public Member Functions

virtual ~SessionInfo (void)
virtual const std::string & getConnectionId (void) const =0
virtual void setConnectionId (const std::string &id)=0
virtual unsigned int getSessionId (void) const =0
virtual void setSessionId (const unsigned int id)=0
virtual void setAckMode (cms::Session::AcknowledgeMode ackMode)=0
virtual cms::Session::AcknowledgeMode getAckMode (void) const =0
virtual const TransactionInfogetTransactionInfo (void) const =0
virtual void setTransactionInfo (const TransactionInfo *transaction)=0

Constructor & Destructor Documentation

virtual activemq::connector::SessionInfo::~SessionInfo void   )  [inline, virtual]
 


Member Function Documentation

virtual cms::Session::AcknowledgeMode activemq::connector::SessionInfo::getAckMode void   )  const [pure virtual]
 

Gets the Ack Mode of this Session

Returns:
Ack Mode

Implemented in activemq::connector::stomp::StompSessionInfo.

virtual const std::string& activemq::connector::SessionInfo::getConnectionId void   )  const [pure virtual]
 

Gets the Connection Id of the Connection that this consumer is using to receive its messages.

Returns:
string value of the connection id

Implemented in activemq::connector::stomp::StompSessionInfo.

virtual unsigned int activemq::connector::SessionInfo::getSessionId void   )  const [pure virtual]
 

Gets the Sessions Id value

Returns:
id for this session

Implemented in activemq::connector::stomp::StompSessionInfo.

virtual const TransactionInfo* activemq::connector::SessionInfo::getTransactionInfo void   )  const [pure virtual]
 

Gets the currently active transaction info, if this session is transacted, returns NULL when not transacted. You must call getAckMode and see if the session is transacted.

Returns:
Transaction Id of current Transaction

Implemented in activemq::connector::stomp::StompSessionInfo.

virtual void activemq::connector::SessionInfo::setAckMode cms::Session::AcknowledgeMode  ackMode  )  [pure virtual]
 

Sets the Ack Mode of this Session Info object

Parameters:
ackMode Ack Mode

Implemented in activemq::connector::stomp::StompSessionInfo.

virtual void activemq::connector::SessionInfo::setConnectionId const std::string &  id  )  [pure virtual]
 

Sets the Connection Id of the Connection that this consumer is using to receive its messages.

Parameters:
id string value of the connection id

Implemented in activemq::connector::stomp::StompSessionInfo.

virtual void activemq::connector::SessionInfo::setSessionId const unsigned int  id  )  [pure virtual]
 

Sets the Session Id for this Session

Parameters:
id integral id value for this session

Implemented in activemq::connector::stomp::StompSessionInfo.

virtual void activemq::connector::SessionInfo::setTransactionInfo const TransactionInfo transaction  )  [pure virtual]
 

Sets the current transaction info for this session, this is nit used when the session is not transacted.

Parameters:
transaction Transaction Id

Implemented in activemq::connector::stomp::StompSessionInfo.


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