TAO_CosNotification
2.1.2
|
Wrapper for the PushConsumer that connect to the EventChannel. More...
#include <PushConsumer.h>
Public Member Functions | |
TAO_Notify_PushConsumer (TAO_Notify_ProxySupplier *proxy) | |
Constructor. | |
virtual | ~TAO_Notify_PushConsumer () |
Destructor. | |
void | init (CosEventComm::PushConsumer_ptr push_consumer) |
Init. | |
virtual void | push (const CORBA::Any &event) |
virtual void | push (const CosNotification::StructuredEvent &event) |
Push <event> to this consumer. | |
virtual void | push (const CosNotification::EventBatch &event) |
Push a batch of events to this consumer. | |
virtual ACE_CString | get_ior (void) const |
Retrieve the ior of this peer. | |
virtual void | reconnect_from_consumer (TAO_Notify_Consumer *old_consumer) |
Protected Member Functions | |
virtual CORBA::Object_ptr | get_consumer (void) |
Protected Attributes | |
CosEventComm::PushConsumer_var | push_consumer_ |
The Consumer. | |
Private Member Functions | |
virtual void | release (void) |
TAO_Notify_Destroy_Callback methods. |
Wrapper for the PushConsumer that connect to the EventChannel.
Constructor.
Destructor.
|
protectedvirtual |
This method is called by the is_alive() method. It should provide the connected consumer or nil if there is none.
Implements TAO_Notify_Consumer.
|
virtual |
Retrieve the ior of this peer.
Implements TAO_Notify_Peer.
void TAO_Notify_PushConsumer::init | ( | CosEventComm::PushConsumer_ptr | push_consumer | ) |
Init.
|
virtual |
Push <event> to this consumer.
Implements TAO_Notify_Consumer.
|
virtual |
Push <event> to this consumer.
Implements TAO_Notify_Consumer.
|
virtual |
Push a batch of events to this consumer.
Implements TAO_Notify_Consumer.
|
virtual |
on reconnect we need to move events from the old consumer to the new one
Implements TAO_Notify_Consumer.
|
privatevirtual |
TAO_Notify_Destroy_Callback methods.
Implements TAO_Notify_Peer.
|
protected |
The Consumer.