#include <acsncArchiveConsumer.h>
Inheritance diagram for nc::ArchiveConsumer:
Public Types | |
typedef Loki::SmartPtr< ArchiveHandler, Logging::RefCounted, Loki::AllowConversion, Loki::NoCheck, Loki::DefaultSPStorage > | ArchiveHandlerSmartPtr |
Archive handler smart pointer. | |
Public Member Functions | |
ArchiveConsumer (ArchiveHandlerSmartPtr handler) | |
ArchiveConsumer (CORBA::ORB_ptr orb_p, ArchiveHandlerSmartPtr handler) | |
ArchiveConsumer (int argc, char *argv[], ArchiveHandlerSmartPtr handler) | |
virtual void | push_structured_event (const CosNotification::StructuredEvent &publishedEvent) |
Protected Member Functions | |
const char * | getChannelKind () |
const char * | getChannelDomain () |
const char * | getNotificationFactoryName () |
Private Member Functions | |
void | subscribeAllEvents () |
Private Attributes | |
ArchiveHandlerSmartPtr | handler_m |
|
Archive handler smart pointer.
|
|
Constructor to be used within components. Consumer will use the Container to get a reference to the Naming Service. If a valid reference to the container cannot be obtained, Consumer will default to creating it's own ORB (assuming Consumer is run on the same host as the Naming Service).
|
|
Constructor to be used within SimpleClient's. This constructor is provided for API users who create their own ORB that has a reference to the Naming Service.
|
|
Optional constructor - used outside of ACS. This constructor is very resource intensive (it spawns it's own ORB) and should only to be utilized when there is a reason not to use Manager to get at the Naming Service. If argc==0, default parameters (i.e., environment variables) specify how to get to the Naming Service. Otherwise, it is assumed argv has a valid corbaloc to the Naming Service.
|
|
Overridden
Reimplemented from nc::Helper.
|
|
Overridden
Reimplemented from nc::Helper.
|
|
This method returns a constant character pointer to the name of the notification service as registered with the CORBA Naming Service.
Reimplemented from nc::Helper.
|
|
Overridden
Implements nc::Consumer.
|
|
Method used to subscribe to all types of events on the channel.
|
|
This function does something with archive events. |