#include <basencSupplier.h>
Inheritance diagram for BaseSupplier:
Public Member Functions | |
BaseSupplier (const char *channelName, const char *notifyServiceDomainName=0) | |
virtual void | disconnect () |
void | init (CosNaming::NamingContext_ptr nc_p) |
virtual void | subscription_change (const CosNotification::EventTypeSeq &added, const CosNotification::EventTypeSeq &removed) |
virtual void | disconnect_structured_push_supplier () |
Protected Member Functions | |
virtual | ~BaseSupplier () |
void | publishEvent (const CosNotification::StructuredEvent &event) |
virtual void | populateHeader (CosNotification::StructuredEvent &event) |
virtual const char * | getEventType ()=0 |
virtual const char * | getEventName () |
virtual acsnc::OSPushSupplier_ptr | getCORBARef () |
Private Member Functions | |
void | connect () |
Private Attributes | |
CosNotifyChannelAdmin::SupplierAdmin_var | supplierAdmin_m |
CosNotifyChannelAdmin::StructuredProxyPushConsumer_var | proxyConsumer_m |
CosNotifyChannelAdmin::ProxyID | proxyConsumerID_m |
CosNotifyChannelAdmin::AdminID | adminID_m |
acsnc::OSPushSupplier_var | corbaRef_m |
|
Standard constructor.
|
|
Destructor |
|
Connect the Supplier to the EventChannel.
|
|
Overridden. Reimplemented from BaseHelper.
|
|
CORBA method we do not really care about from this class other than the fact that it must be overridden. |
|
Utility method only used by Supplier and should not be called by your code directly. Provided just in case someone wants to create this object's underlying CORBA reference using other libraries/POAs/etc
|
|
This method returns a constant character pointer to the type of event.
|
|
This method returns a constant character pointer to the type of event.
Implemented in AlarmSupplier, ArchiveSupplier, and TestSupplier.
|
|
Overridden. This object will not function until this method has been invoked. Reimplemented from BaseHelper.
|
|
Developer's responsibility to call this method before sending any event. |
|
Send an entire structured event. Subclasses should create their own structured event and then call this method to do the real publishing of events.
|
|
CORBA method we do not really care about from this class other than the fact that it must be overridden.
|
|
Supplier admin ID. |
|
CORBA reference to myself. |
|
The proxy that we are connected to. |
|
This supplier's id. |
|
Supplier Admin object is responsible for creating & managing proxy consumers w/ a common set of QoS property settings & filter objects. |