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

qpid::Address Struct Reference

Contains the address of an AMQP broker. More...

#include <qpid/Address.h>

List of all members.

Public Member Functions

 Address (const Address &a)
 Address (const TcpAddress &tcp)
 Address (const ExampleAddress &eg)
template<class AddressType >
Addressoperator= (const AddressType &t)
template<class AddressType >
AddressType * get ()
 Get the address of type AddressType.
template<class AddressType >
const AddressType * get () const
 Get the address of type AddressType.

Friends

std::ostream & operator<< (std::ostream &os, const Address &addr)

Detailed Description

Contains the address of an AMQP broker.

Can any supported type of broker address. Currently only TcpAddress is supported.

Definition at line 56 of file Address.h.


Constructor & Destructor Documentation

qpid::Address::Address ( const Address a  )  [inline]

Definition at line 58 of file Address.h.

qpid::Address::Address ( const TcpAddress tcp  )  [inline]

Definition at line 59 of file Address.h.

qpid::Address::Address ( const ExampleAddress eg  )  [inline]

Definition at line 60 of file Address.h.


Member Function Documentation

template<class AddressType >
const AddressType* qpid::Address::get (  )  const [inline]

Get the address of type AddressType.

Returns:
AddressType* pointing to the contained address or 0 if contained address is not of type AddressType.

Definition at line 74 of file Address.h.

template<class AddressType >
AddressType* qpid::Address::get (  )  [inline]

Get the address of type AddressType.

Returns:
AddressType* pointing to the contained address or 0 if contained address is not of type AddressType.

Definition at line 68 of file Address.h.

template<class AddressType >
Address& qpid::Address::operator= ( const AddressType &  t  )  [inline]

Definition at line 62 of file Address.h.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Address addr 
) [friend]

The documentation for this struct was generated from the following file:

Qpid C++ API Reference
Generated on Tue Apr 20 18:18:27 2010 for Qpid C++ Client API by doxygen 1.6.1