Collaboration diagram for MultiConnectDemo:
Public Member Functions | |
MultiConnectDemo (Global &glob) | |
virtual | ~MultiConnectDemo () |
void | execute () |
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
Definition at line 82 of file MultiConnectDemo.cpp.
MultiConnectDemo::MultiConnectDemo | ( | Global & | glob | ) |
Definition at line 90 of file MultiConnectDemo.cpp.
virtual MultiConnectDemo::~MultiConnectDemo | ( | ) | [virtual] |
Definition at line 93 of file MultiConnectDemo.cpp.
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().