#include <event.h>
Protected Member Functions | |
_Event (const char *name) throw (Exception) | |
virtual | ~_Event () |
bool | _enqueueEvent (chain &s, nodeId target) |
bool | _enqueueEvent (chain &s, std::vector< nodeId > &targets) |
virtual bool | pushEvent (chain &s, nodeId sender)=0 |
Friends | |
class | EventBase |
class | EventPacket |
Definition at line 103 of file event.h.
libglass::_Event::_Event | ( | const char * | name | ) | throw (Exception) [protected] |
Constructor.
virtual libglass::_Event::~_Event | ( | ) | [protected, virtual] |
Destructor.
Enqueues an event, sending it to other nodes.
The event is not enqueued locally.
s | The packed event. | |
target | The target node. |
True | if successfully sent. | |
False | if an error occurred. |
s | The packed event. | |
targets | The list of target nodes. | |
target | The target node. |
Referenced by libglass::Event< T, T, T >::enqueueEvent().
Enqueues locally an event received by the network.
s | The packed event. | |
sender | The node which created the event. |
True | if successfully queued. | |
False | if an error occurred. |
Implemented in libglass::Event< T, T, T >, and libglass::EventSerializable.