#include <EC_ObserverStrategy.h>
Inheritance diagram for TAO_EC_Basic_ObserverStrategy:
This class simply keeps the information about the current list of observers, whenever the list of consumers and/or suppliers changes in queries the EC, computes the global subscription and/or publication list and sends the update message to all the observers.
It assumes ownership of the lock, but not of the Event_Channel.
|
|
|
|
|
|
|
|
|
Constructor.
|
|
Destructor.
|
|
The basic methods to support the EC strategies.
Implements TAO_EC_ObserverStrategy. |
|
Used by the EC to inform the ObserverStrategy that a Supplier has connected or disconnected from it. Implements TAO_EC_ObserverStrategy. |
|
Used by the EC to inform the ObserverStrategy that a Consumer has connected or disconnected from it. Implements TAO_EC_ObserverStrategy. |
|
Recompute EC consumer subscriptions and send them out to all observers.
Reimplemented in TAO_EC_Reactive_ObserverStrategy. |
|
Copies all current observers into an array and passes it back to the caller through lst. Returns the size of the array. |
|
Implements TAO_EC_ObserverStrategy. |
|
Implements TAO_EC_ObserverStrategy. |
|
Compute supplier QOS.
|
|
Compute consumer QOS.
|
|
Implements TAO_EC_ObserverStrategy. |
|
Recompute EC supplier publications and send them out to all observers.
Reimplemented in TAO_EC_Reactive_ObserverStrategy. |
|
The event channel.
|
|
The handles are generated in sequential order, but are opaque to the client. |
|
The lock.
|
|
Keep the set of Observers.
|