#include <Notify_Event_Manager.h>
Collaboration diagram for TAO_Notify_Event_Manager:
Public Methods | |
TAO_Notify_Event_Manager (TAO_Notify_EventChannel_i *parent, TAO_Notify_EMO_Factory *emo_factory) | |
Constructor. More... | |
~TAO_Notify_Event_Manager () | |
Destructor. More... | |
void | init (ACE_ENV_SINGLE_ARG_DECL) |
Init. More... | |
void | shutdown (ACE_ENV_SINGLE_ARG_DECL) |
Shutdown operations. More... | |
void | subscribe_for_events (TAO_Notify_EventListener *event_listener, const CosNotification::EventTypeSeq &added, const CosNotification::EventTypeSeq &removed ACE_ENV_ARG_DECL) |
Subscribes <event_listener> for events <added>. Unsubscribes <event_listener> for events <removed>. More... | |
void | update_publication_list (const CosNotification::EventTypeSeq &added, const CosNotification::EventTypeSeq &removed ACE_ENV_ARG_DECL) |
Suppliers can send anonymous requests to the Event Manager to indicate what kind of events they expect to produce. More... | |
void | register_for_subscription_updates (TAO_Notify_UpdateListener *update_listener ACE_ENV_ARG_DECL) |
Registers the subscription update listener with the Event Manager. More... | |
void | unregister_from_subscription_updates (TAO_Notify_UpdateListener *update_listener ACE_ENV_ARG_DECL) |
Unregister from subscription updates. More... | |
void | register_for_publication_updates (TAO_Notify_UpdateListener *update_listener ACE_ENV_ARG_DECL) |
Registers the publication update listener with the Event Manager. More... | |
void | unregister_from_publication_updates (TAO_Notify_UpdateListener *update_listener ACE_ENV_ARG_DECL) |
Unregister from publication updates. More... | |
CosNotification::EventTypeSeq * | obtain_offered_types (void) |
Obtain the publication list. More... | |
CosNotification::EventTypeSeq * | obtain_subscription_types (void) |
Obtain the subscription list. More... | |
TAO_Notify_Event_Map * | event_map (void) |
Get the event map. More... | |
TAO_Notify_Event_Processor * | event_processor (void) |
Get the Event Processor. More... | |
TAO_Notify_AdminProperties * | admin_properties (void) |
Get the Admin Properties. More... | |
TAO_Notify_EMO_Factory * | resource_factory (void) |
Get the Resource Factory. More... | |
void | process_event (TAO_Notify_Event *event, TAO_Notify_EventSource *event_source ACE_ENV_ARG_DECL) |
Delivers the event to listeners subscribed for <event> <event_source> is the <event> source to the Event Manager. More... | |
void | update_task_admins (void) |
Protected Methods | |
void | dispatch_updates_i (TAO_Notify_UpdateListener_List *update_listener_list, TAO_Notify_EventType_List &added, TAO_Notify_EventType_List &removed ACE_ENV_ARG_DECL) |
Dispatch the updates to the <update_listener_list>. More... | |
Protected Attributes | |
TAO_Notify_EventChannel_i * | event_channel_ |
The Event Channel that we're managing for. More... | |
TAO_Notify_Event_Map * | event_map_ |
Container for event <-> source/sinks mappings. More... | |
TAO_Notify_Event_Processor * | event_processor_ |
Handles processing of events. More... | |
TAO_Notify_Worker_Task * | updates_dispatching_task_ |
Dispatches updates to update listeners. More... | |
TAO_Notify_EMO_Factory * | emo_factory_ |
Event manager objects factory. More... | |
ACE_Lock * | lock_ |
The locking strategy. More... | |
TAO_Notify_AdminProperties * | admin_properties_ |
Admin properties. More... |
Handles all aspects of event propogation thru the channel. Also keeps track of publications and subscriptions.
|
Constructor.
|
|
Destructor.
|
|
Get the Admin Properties.
|
|
Dispatch the updates to the <update_listener_list>.
|
|
Get the event map.
|
|
Get the Event Processor.
|
|
Init.
|
|
Obtain the publication list.
|
|
Obtain the subscription list.
|
|
Delivers the event to listeners subscribed for <event> <event_source> is the <event> source to the Event Manager.
|
|
Registers the publication update listener with the Event Manager.
|
|
Registers the subscription update listener with the Event Manager.
|
|
Get the Resource Factory.
|
|
Shutdown operations.
|
|
Subscribes <event_listener> for events <added>. Unsubscribes <event_listener> for events <removed>.
|
|
Unregister from publication updates.
|
|
Unregister from subscription updates.
|
|
Suppliers can send anonymous requests to the Event Manager to indicate what kind of events they expect to produce.
|
|
|
|
Admin properties.
|
|
Event manager objects factory.
|
|
The Event Channel that we're managing for.
|
|
Container for event <-> source/sinks mappings.
|
|
Handles processing of events.
|
|
The locking strategy.
|
|
Dispatches updates to update listeners.
|