Apache Qpid C++ API
Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation

qpid::management::ObjectId Class Reference

#include <qpid/management/ManagementObject.h>

List of all members.

Public Member Functions

 ObjectId ()
 ObjectId (const types::Variant &map)
 ObjectId (uint8_t flags, uint16_t seq, uint32_t broker)
 ObjectId (AgentAttachment *_agent, uint8_t flags, uint16_t seq)
 ObjectId (std::istream &)
 ObjectId (const std::string &)
 ObjectId (const std::string &agentAddress, const std::string &key, uint64_t epoch=0)
 ObjectId (uint8_t flags, uint16_t seq, uint32_t broker, uint64_t object)
bool operator== (const ObjectId &other) const
bool operator< (const ObjectId &other) const
void mapEncode (types::Variant::Map &map) const
void mapDecode (const types::Variant::Map &map)
 operator types::Variant::Map () const
uint32_t encodedSize () const
void encode (std::string &buffer) const
void decode (const std::string &buffer)
bool equalV1 (const ObjectId &other) const
void setV2Key (const std::string &_key)
void setV2Key (const ManagementObject &object)
void disambiguate ()
void setAgentName (const std::string &_name)
const std::string & getAgentName () const
const std::string & getV2Key () const

Protected Member Functions

void fromString (const std::string &)

Protected Attributes

const AgentAttachmentagent
uint64_t first
uint64_t second
uint64_t agentEpoch
std::string v2Key
std::string agentName

Friends

std::ostream & operator<< (std::ostream &, const ObjectId &)


Detailed Description

Definition at line 51 of file ManagementObject.h.


Constructor & Destructor Documentation

qpid::management::ObjectId::ObjectId (  )  [inline]

Definition at line 61 of file ManagementObject.h.

qpid::management::ObjectId::ObjectId ( const types::Variant map  )  [inline]

Definition at line 62 of file ManagementObject.h.

References qpid::types::Variant::asMap(), and mapDecode().

qpid::management::ObjectId::ObjectId ( uint8_t  flags,
uint16_t  seq,
uint32_t  broker 
)

qpid::management::ObjectId::ObjectId ( AgentAttachment _agent,
uint8_t  flags,
uint16_t  seq 
)

qpid::management::ObjectId::ObjectId ( std::istream &   ) 

qpid::management::ObjectId::ObjectId ( const std::string &   ) 

qpid::management::ObjectId::ObjectId ( const std::string &  agentAddress,
const std::string &  key,
uint64_t  epoch = 0 
) [inline]

Definition at line 68 of file ManagementObject.h.

qpid::management::ObjectId::ObjectId ( uint8_t  flags,
uint16_t  seq,
uint32_t  broker,
uint64_t  object 
)


Member Function Documentation

void qpid::management::ObjectId::decode ( const std::string &  buffer  ) 

void qpid::management::ObjectId::disambiguate (  ) 

void qpid::management::ObjectId::encode ( std::string &  buffer  )  const

uint32_t qpid::management::ObjectId::encodedSize (  )  const [inline]

Definition at line 79 of file ManagementObject.h.

bool qpid::management::ObjectId::equalV1 ( const ObjectId other  )  const

void qpid::management::ObjectId::fromString ( const std::string &   )  [protected]

const std::string& qpid::management::ObjectId::getAgentName (  )  const [inline]

Definition at line 87 of file ManagementObject.h.

References agentName.

const std::string& qpid::management::ObjectId::getV2Key (  )  const [inline]

Definition at line 88 of file ManagementObject.h.

References v2Key.

void qpid::management::ObjectId::mapDecode ( const types::Variant::Map map  ) 

Referenced by ObjectId().

void qpid::management::ObjectId::mapEncode ( types::Variant::Map map  )  const

qpid::management::ObjectId::operator types::Variant::Map (  )  const

bool qpid::management::ObjectId::operator< ( const ObjectId other  )  const

bool qpid::management::ObjectId::operator== ( const ObjectId other  )  const

void qpid::management::ObjectId::setAgentName ( const std::string &  _name  )  [inline]

Definition at line 86 of file ManagementObject.h.

References agentName.

void qpid::management::ObjectId::setV2Key ( const ManagementObject object  ) 

void qpid::management::ObjectId::setV2Key ( const std::string &  _key  )  [inline]

Definition at line 83 of file ManagementObject.h.

References v2Key.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const ObjectId  
) [friend]


Member Data Documentation

const AgentAttachment* qpid::management::ObjectId::agent [protected]

Definition at line 53 of file ManagementObject.h.

uint64_t qpid::management::ObjectId::agentEpoch [protected]

Definition at line 56 of file ManagementObject.h.

std::string qpid::management::ObjectId::agentName [protected]

Definition at line 58 of file ManagementObject.h.

Referenced by getAgentName(), and setAgentName().

uint64_t qpid::management::ObjectId::first [protected]

Definition at line 54 of file ManagementObject.h.

uint64_t qpid::management::ObjectId::second [protected]

Definition at line 55 of file ManagementObject.h.

std::string qpid::management::ObjectId::v2Key [protected]

Definition at line 57 of file ManagementObject.h.

Referenced by getV2Key(), and setV2Key().


The documentation for this class was generated from the following file:
Qpid C++ API Reference
Generated on Wed Dec 1 10:43:03 2010 for Qpid C++ Client API by doxygen 1.4.7