qpid::cluster::Cluster Class Reference

Connection to the cluster. More...

#include <Cluster.h>

Inherits qpid::cluster::Cpg::Handler, and qpid::management::Manageable.

Collaboration diagram for qpid::cluster::Cluster:

Collaboration graph
[legend]

List of all members.

Public Types

typedef boost::intrusive_ptr
< Connection
ConnectionPtr
typedef std::vector
< ConnectionPtr > 
Connections

Public Member Functions

 Cluster (const std::string &name, const Url &url, broker::Broker &)
 Join a cluster.
bool insert (const ConnectionPtr &)
void erase (ConnectionId)
void mcastControl (const framing::AMQBody &controlBody, const ConnectionId &, uint32_t id)
void mcastBuffer (const char *, size_t, const ConnectionId &, uint32_t id)
void mcast (const Event &e)
std::vector< UrlgetUrls () const
boost::shared_ptr
< FailoverExchange
getFailoverExchange () const
void leave ()
void dumpInDone (const ClusterMap &)
MemberId getId () const
broker::BrokergetBroker () const

Friends

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


Detailed Description

Connection to the cluster.

Definition at line 53 of file Cluster.h.


Constructor & Destructor Documentation

qpid::cluster::Cluster::Cluster ( const std::string &  name,
const Url url,
broker::Broker  
)

Join a cluster.

Parameters:
name of the cluster.
url of this broker, sent to the cluster.


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

Generated on Thu Oct 16 13:38:25 2008 for Qpid by  doxygen 1.5.6