#include <MessageProcessor.h>
Inheritance diagram for CODEX_APSS::MessageProcessor:


Public Member Functions | |
| MessageProcessor (CODEX_Events::DeadPileType &deadPile, CODEX_Events::QType &eventQueue, CODEX_Server::ServerResponseHandler *destination, CODEX_Server::UnicastRequestHandler *requestHandler) | |
| Create a MessageProcessor. | |
| virtual | ~MessageProcessor () |
| Virtual destructor. | |
| bool | handler (RoutedMessageEvent< SignedInitMsg > &event) |
| Abstract handler for a signed InitMsg. | |
| bool | handler (RoutedMessageEvent< SignedEstablishMsg > &event) |
| Abstract handler for a signed EstablishMsg. | |
| bool | handler (RoutedMessageEvent< SignedComputeMsg > &event) |
| Abstract handler for a signed ComputeMsg. | |
| bool | handler (RoutedMessageEvent< SignedRecoverMsg > &event) |
| Abstract handler for a signed RecoverMsg. | |
| bool | handler (RoutedMessageEvent< SignedFinishedMsg > &event) |
| Abstract handler for a signed FinishedMsg. | |
| virtual bool | handler (EventAck &event) |
| The base class is responsible for handling acknowledgements, which are relevant to whether the Activity is ready for deletion. | |
Protected Member Functions | |
| void | sendEvent (EventBase *event, Activity *source, bool failure=false) |
| void | enableTerminate () |
| This method should be called when an Activity has received a CloseEvent or other indicator that it is no longer needed. | |
Protected Attributes | |
| DeadPileType & | m_deadPile |
| The pile of Activity%s to be garbage-collected. | |
| QType & | m_queue |
| The event queue. | |
The message should already have been verified by MessageVerifier.
Definition at line 31 of file MessageProcessor.h.
|
|
This method should be called when an Activity has received a CloseEvent or other indicator that it is no longer needed. Actual termination will not occur until there are no remaining events outstanding (unacknowledged). Definition at line 63 of file Activity.cc. Referenced by CODEX_KeyService::ClientActivity::handler(), and CODEX_KeyService::ClientActivity::processRequest(). |
|
|
The base class is responsible for handling acknowledgements, which are relevant to whether the Activity is ready for deletion. If a derived class reimpliments this method, it must call this version explicitly. Definition at line 39 of file Activity.cc. Referenced by CODEX_Events::EventAck::handle(), and CODEX_KeyService::ClientActivity::handler(). |
|
||||||||||||||||
1.4.1