TAO_ESF
2.3.3
|
Define the interface for the Worker objects. More...
#include <ESF_Worker.h>
Public Member Functions | |
virtual | ~TAO_ESF_Worker (void) |
virtual void | set_size (size_t size) |
virtual void | work (Object *object)=0 |
Callback interface. More... | |
Define the interface for the Worker objects.
The Event Service Framework uses Worker classes to iterate over collections of proxies. The following class defines the worker interface, basically users of the framework implement a worker object and pass it to one collection. The collection invokes the worker for each element the colection contains.
|
virtual |
|
virtual |
Used by the collection to inform the worker the number of proxies in the collection.
|
pure virtual |
Callback interface.
Implemented in TAO_ESF_Peer_Disconnected< PROXY, PEER >, TAO_ESF_Peer_Reconnected< PROXY, PEER >, TAO_ESF_Peer_Connected< PROXY, PEER >, and TAO_ESF_Shutdown_Proxy< PROXY >.