MultiConnectDemo Class Reference

This client connects 5 times to xmlBlaster. More...

Collaboration diagram for MultiConnectDemo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MultiConnectDemo (Global &glob)
virtual ~MultiConnectDemo ()
void execute ()

Detailed Description

This client connects 5 times to xmlBlaster.

All five connections subscribe to a message, we then publish the message and receive it 5 times asynchronous in the connection specific update() method.

 Invoke: MultiConnectDemo
 
See also:
xmlBlaster interface

Definition at line 82 of file MultiConnectDemo.cpp.


Constructor & Destructor Documentation

MultiConnectDemo::MultiConnectDemo ( Global glob  ) 

Definition at line 90 of file MultiConnectDemo.cpp.

virtual MultiConnectDemo::~MultiConnectDemo (  )  [virtual]

Definition at line 93 of file MultiConnectDemo.cpp.


Member Function Documentation

void MultiConnectDemo::execute (  ) 

Definition at line 95 of file MultiConnectDemo.cpp.

References org::xmlBlaster::util::I_Log::error(), org::xmlBlaster::util::Property::get(), org::xmlBlaster::client::qos::PublishReturnQos::getKeyOid(), org::xmlBlaster::util::Global::getProperty(), org::xmlBlaster::util::qos::SessionQosData::getSessionName(), org::xmlBlaster::util::qos::ConnectQosData::getSessionQos(), org::xmlBlaster::client::qos::SubscribeReturnQos::getSubscriptionId(), org::xmlBlaster::util::I_Log::info(), org::xmlBlaster::client::key::UnSubscribeKey::setOid(), org::xmlBlaster::client::key::PublishKey::setOid(), org::xmlBlaster::util::thread::Thread::sleep(), and org::xmlBlaster::util::XmlBlasterException::toXml().

Referenced by main().


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