Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

OmniEvents::ProxyPushSupplier_i Class Reference

#include <ProxyPushSupplier.h>

Inheritance diagram for OmniEvents::ProxyPushSupplier_i:

Inheritance graph
[legend]
Collaboration diagram for OmniEvents::ProxyPushSupplier_i:

Collaboration graph
[legend]
List of all members.

Public Methods

void connect_push_consumer (CosEventComm::PushConsumer_ptr pushConsumer)
void disconnect_push_supplier ()
 ProxyPushSupplier_i (PortableServer::POA_ptr poa, EventQueue &q)
 ~ProxyPushSupplier_i ()
void trigger (bool &busy, bool &waiting)
 Sets 'busy' if some work was done. More...

void callback (CORBA::Request_ptr req)
 Sets _targetIsProxy, if it is. More...

void reincarnate (const string &oid, const PersistNode &node)
 Re-create a servant from information saved in the log file. More...

void output (ostream &os)
 Save this object's state to a stream. More...


Private Attributes

CosEventComm::PushConsumer::_var_type _target
bool _targetIsProxy
 TRUE if _target is a ProxyPushConsumer. More...


Constructor & Destructor Documentation

OmniEvents::ProxyPushSupplier_i::ProxyPushSupplier_i PortableServer::POA_ptr    poa,
EventQueue   q
 

Definition at line 263 of file ProxyPushSupplier.cc.

OmniEvents::ProxyPushSupplier_i::~ProxyPushSupplier_i  
 

Definition at line 275 of file ProxyPushSupplier.cc.

References DB.


Member Function Documentation

void OmniEvents::ProxyPushSupplier_i::callback CORBA::Request_ptr    req [virtual]
 

Sets _targetIsProxy, if it is.

Implements OmniEvents::Callback.

Definition at line 318 of file ProxyPushSupplier.cc.

References _targetIsProxy, DB, and output().

void OmniEvents::ProxyPushSupplier_i::connect_push_consumer CosEventComm::PushConsumer_ptr    pushConsumer
 

Definition at line 220 of file ProxyPushSupplier.cc.

References OmniEvents::Proxy::_req, _target, and output().

void OmniEvents::ProxyPushSupplier_i::disconnect_push_supplier  
 

Definition at line 241 of file ProxyPushSupplier.cc.

References _target, DB, OmniEvents::Servant::deactivateObject(), OmniEvents::Proxy::eraseKey(), and IFELSE_OMNIORB4.

Referenced by OmniEvents::ProxyPushSupplierManager::disconnect().

void OmniEvents::ProxyPushSupplier_i::output ostream &    os [virtual]
 

Save this object's state to a stream.

Implements OmniEvents::Proxy.

Definition at line 386 of file ProxyPushSupplier.cc.

References _target, _targetIsProxy, and OmniEvents::Proxy::basicOutput().

Referenced by callback(), and connect_push_consumer().

void OmniEvents::ProxyPushSupplier_i::reincarnate const string &    oid,
const PersistNode   node
[virtual]
 

Re-create a servant from information saved in the log file.

Implements OmniEvents::Proxy.

Definition at line 342 of file ProxyPushSupplier.cc.

References _target, _targetIsProxy, OmniEvents::Servant::activateObjectWithId(), OmniEvents::PersistNode::attrLong(), OmniEvents::PersistNode::attrString(), and DB.

void OmniEvents::ProxyPushSupplier_i::trigger bool &    busy,
bool &    waiting
[inline]
 

Sets 'busy' if some work was done.

Sets 'waiting' if there is an outstanding request.

Definition at line 280 of file ProxyPushSupplier.cc.

References OmniEvents::Proxy::_req, _target, DB, OmniEvents::Servant::deactivateObject(), OmniEvents::Proxy::eraseKey(), IF_OMNIORB4, OmniEvents::EventQueue::Reader::moreEvents(), and OmniEvents::EventQueue::Reader::nextEvent().

Referenced by OmniEvents::ProxyPushSupplierManager::run().


Member Data Documentation

CosEventComm::PushConsumer::_var_type OmniEvents::ProxyPushSupplier_i::_target [private]
 

Definition at line 124 of file ProxyPushSupplier.h.

Referenced by connect_push_consumer(), disconnect_push_supplier(), output(), reincarnate(), and trigger().

bool OmniEvents::ProxyPushSupplier_i::_targetIsProxy [private]
 

TRUE if _target is a ProxyPushConsumer.

Definition at line 125 of file ProxyPushSupplier.h.

Referenced by callback(), output(), and reincarnate().


The documentation for this class was generated from the following files:
Generated on Fri Nov 19 17:42:31 2004 for OmniEvents by doxygen1.2.15