OmniEvents
OmniEvents::ProxyPushConsumer_i::Connection Struct Reference
Inheritance diagram for OmniEvents::ProxyPushConsumer_i::Connection:
Collaboration diagram for OmniEvents::ProxyPushConsumer_i::Connection:

Public Member Functions

 Connection (const char *channelName, const string &oidstr, CosEventComm::PushSupplier_ptr pushSupplier, bool isProxy=false)
 Constructor adopts 'pushSupplier' parameter. More...
 
virtual ~Connection ()
 
OMNIEVENTS__DEBUG_REF_COUNTS__DECL void callback (CORBA::Request_ptr req)
 Sets _targetIsProxy, if it is. More...
 
void output (ostream &os) const
 Save this object's state to a stream. More...
 
- Public Member Functions inherited from OmniEvents::Callback
 Callback ()
 
virtual ~Callback ()
 

Public Attributes

const char * _channelName
 
string _oidstr
 
CosEventComm::PushSupplier_var _target
 
bool _targetIsProxy
 TRUE if _target is a ProxyPushSupplier. More...
 

Private Member Functions

 Connection ()
 NO IMPLEMENTATION. More...
 

Detailed Description

Definition at line 106 of file ProxyPushConsumer.h.

Constructor & Destructor Documentation

OmniEvents::ProxyPushConsumer_i::Connection::Connection ( const char *  channelName,
const string &  oidstr,
CosEventComm::PushSupplier_ptr  pushSupplier,
bool  isProxy = false 
)

Constructor adopts 'pushSupplier' parameter.

Definition at line 329 of file ProxyPushConsumer.cc.

References DB.

OmniEvents::ProxyPushConsumer_i::Connection::~Connection ( )
virtual

Definition at line 346 of file ProxyPushConsumer.cc.

References DB, and OMNIEVENTS__DEBUG_REF_COUNTS__DEFN.

OmniEvents::ProxyPushConsumer_i::Connection::Connection ( )
private

NO IMPLEMENTATION.

Member Function Documentation

void OmniEvents::ProxyPushConsumer_i::Connection::callback ( CORBA::Request_ptr  req)
virtual

Sets _targetIsProxy, if it is.

Implements OmniEvents::Callback.

Definition at line 358 of file ProxyPushConsumer.cc.

References _targetIsProxy, DB, OmniEvents::omniEventsLog::exists(), OmniEvents::WriteLock::os, and output().

void OmniEvents::ProxyPushConsumer_i::Connection::output ( ostream &  os) const

Save this object's state to a stream.

Definition at line 377 of file ProxyPushConsumer.cc.

References _channelName, _oidstr, OmniEvents::Orb::_orb, _target, _targetIsProxy, and OmniEvents::Orb::inst().

Referenced by callback(), and OmniEvents::ProxyPushConsumer_i::connect_push_supplier().

Member Data Documentation

const char* OmniEvents::ProxyPushConsumer_i::Connection::_channelName

Definition at line 108 of file ProxyPushConsumer.h.

Referenced by output().

string OmniEvents::ProxyPushConsumer_i::Connection::_oidstr

Definition at line 109 of file ProxyPushConsumer.h.

Referenced by output().

CosEventComm::PushSupplier_var OmniEvents::ProxyPushConsumer_i::Connection::_target

Definition at line 110 of file ProxyPushConsumer.h.

Referenced by output().

bool OmniEvents::ProxyPushConsumer_i::Connection::_targetIsProxy

TRUE if _target is a ProxyPushSupplier.

Definition at line 111 of file ProxyPushConsumer.h.

Referenced by callback(), and output().


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