Public Methods |
| TAO_Notify_Event_Map (TAO_Notify_EMO_Factory *emo_factory) |
| Constructor. More...
|
virtual | ~TAO_Notify_Event_Map () |
| Destructor. More...
|
void | init (ACE_ENV_SINGLE_ARG_DECL) |
| Init. More...
|
void | shutdown (ACE_ENV_SINGLE_ARG_DECL) |
| Shutdown releases all listeners. More...
|
void | subscribe_for_events (TAO_Notify_EventListener *event_listener, TAO_Notify_EventType_List &update, const CosNotification::EventTypeSeq &added ACE_ENV_ARG_DECL) |
void | unsubscribe_from_events (TAO_Notify_EventListener *event_listener, TAO_Notify_EventType_List &update, const CosNotification::EventTypeSeq &removed ACE_ENV_ARG_DECL) |
void | update_publication_list (const CosNotification::EventTypeSeq &added, const CosNotification::EventTypeSeq &removed, TAO_Notify_EventType_List &added_list, TAO_Notify_EventType_List &removed_list ACE_ENV_ARG_DECL) |
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...
|
int | find (TAO_Notify_EventType const &event_type, TAO_Notify_EventListener_List *&event_listener_list) |
CosNotification::EventTypeSeq * | obtain_offered_types (void) |
| Obtain the publication list. More...
|
CosNotification::EventTypeSeq * | obtain_subscription_types (void) |
| Obtain the subscription list. More...
|
TAO_Notify_UpdateListener_List * | subscription_change_listeners (void) |
TAO_Notify_UpdateListener_List * | publication_change_listeners (void) |
TAO_Notify_EventListener_List * | default_subscription_list (void) |
Protected Types |
typedef ACE_Hash_Map_Manager<
TAO_Notify_EventType, TAO_Notify_EventListener_List *,
TAO_SYNCH_MUTEX > | EVENT_RECIPIENT_MAP |
Protected Attributes |
EVENT_RECIPIENT_MAP | event_recipient_map_ |
| A Map of event types and the groups of event listeners interested in them. More...
|
TAO_Notify_EventListener_List * | default_subscription_list_ |
| Save a reference to the default list, we don't want to spend time looking for it in the <event_recipient_map>. More...
|
TAO_Notify_EventType_List | publication_list_ |
| The list of event types that are being currently published by suppliers. More...
|
TAO_Notify_EventType_List | subscription_list_ |
| The list of event types that are being currently subscribed to by consumers. More...
|
TAO_Notify_UpdateListener_List * | subscription_change_listeners_ |
| This is a list of listeners that want to be notified if the subsciptions from consumers changes the <event_recipient_map_> keys. More...
|
TAO_Notify_UpdateListener_List * | publication_change_listeners_ |
| This is a list of listeners that want to be notified if the publications from suppliers changes the <publication_list_>. More...
|
TAO_Notify_EMO_Factory * | emo_factory_ |
| Evenet Manager Objects factory. More...
|
TAO_Notify_Collection_Factory * | collection_factory_ |
| Collection objects factory. More...
|