#include <Event_Map_T.h>
Inheritance diagram for TAO_NS_Event_Map_T:
Public Types | |
typedef TAO_NS_Event_Map_Entry_T< PROXY > | ENTRY |
Public Methods | |
TAO_NS_Event_Map_T (void) | |
Constuctor. More... | |
~TAO_NS_Event_Map_T () | |
Destructor. More... | |
void | init (ACE_ENV_SINGLE_ARG_DECL) |
Init. More... | |
void | connect (PROXY *proxy ACE_ENV_ARG_DECL) |
Connect a PROXY. More... | |
void | disconnect (PROXY *proxy ACE_ENV_ARG_DECL) |
Disconnect a PROXY. More... | |
int | insert (PROXY *proxy, const TAO_NS_EventType &event_type ACE_ENV_ARG_DECL) |
Associate PROXY and event_type. Returns 1 if <event_type> is being seem for the 1st time otherwise returns 0. Returns -1 on error. More... | |
int | remove (PROXY *proxy, const TAO_NS_EventType &event_type ACE_ENV_ARG_DECL) |
Remove association of PROXY and event_type. Returns 1 if <event_type> is being seem for the last time otherwise returns 0. Returns -1 on error. More... | |
ACE_TYPENAME ENTRY::COLLECTION * | find (const TAO_NS_EventType &event_type ACE_ENV_ARG_DECL) |
Find the collection mapped to the <event_type>. More... | |
ACE_TYPENAME ENTRY::COLLECTION * | broadcast_collection (void) |
Find the default broadcast list. More... | |
ACE_TYPENAME ENTRY::COLLECTION * | updates_collection (void) |
Find the update list. This is all the PROXYS connected to this Map. More... | |
const TAO_NS_EventTypeSeq & | event_types (void) |
Access all the event types available. More... | |
int | proxy_count (void) |
Access number of proxys connected in all. More... | |
Protected Attributes | |
ACE_Hash_Map_Manager< TAO_NS_EventType, ENTRY *, ACE_SYNCH_NULL_MUTEX > | map_ |
The Map that stores eventtype to entry mapping. More... | |
ACE_LOCK | lock_ |
The lock to use. More... | |
int | proxy_count_ |
Count of proxys connected. More... | |
ENTRY | broadcast_entry_ |
The default broadcast list for EventType::special. More... | |
ENTRY | updates_entry_ |
Update Entry - Keeps a list of all PROXY's connected to this Map. Updates are send to this list. More... | |
TAO_NS_EventTypeSeq | event_types_ |
The event types that are available in this map. More... |
|
|
|
Constuctor.
|
|
Destructor.
|
|
Find the default broadcast list.
|
|
Connect a PROXY.
|
|
Disconnect a PROXY.
|
|
Access all the event types available.
|
|
Find the collection mapped to the <event_type>.
|
|
Init.
|
|
Associate PROXY and event_type. Returns 1 if <event_type> is being seem for the 1st time otherwise returns 0. Returns -1 on error.
|
|
Access number of proxys connected in all.
|
|
Remove association of PROXY and event_type. Returns 1 if <event_type> is being seem for the last time otherwise returns 0. Returns -1 on error.
|
|
Find the update list. This is all the PROXYS connected to this Map.
|
|
The default broadcast list for EventType::special.
|
|
The event types that are available in this map.
|
|
The lock to use.
|
|
The Map that stores eventtype to entry mapping.
|
|
Count of proxys connected.
|
|
Update Entry - Keeps a list of all PROXY's connected to this Map. Updates are send to this list.
|