#include <ClientReadCallback.h>
Inheritance diagram for CODEX_KeyService::ClientReadCallback:


Public Types | |
|
typedef CODEX_ASN1::Array< CODEX_Server::ServerSignature > | ServerArray |
| Convenient short name. | |
| typedef CODEX_Server::ServerState::ShareType | ShareType |
| Shorthand for the type of a sharing. | |
| typedef CODEX_Server::ServerState::ShareSetType | ShareSetType |
| Shorthand for the type of a set of shares. | |
| typedef CODEX_Client::CipherTextType | CipherTextType |
| Shorthand for the type of a ciphertext. | |
| typedef CODEX_Client::BlindCipherTextType | BlindCipherTextType |
| Shorthand for the type of a blind ciphertext. | |
| typedef CODEX_Client::BlindPlainTextType | BlindPlainTextType |
| Shorthand for the type of a blind plaintext. | |
| typedef vector< ShareType * > | PartialArray |
| Convenient short name. | |
|
typedef map< BlindCipherTextType, PartialArray > | PartialMap |
| Mapping from a blinded ciphertext to its partial decryptions. | |
|
typedef map< BlindCipherTextType, BIGNUM * > | DigestMap |
| Mapping from a blinded ciphertext to a message digest. | |
|
typedef map< BlindCipherTextType, ServerArray > | EvidenceMap |
| Mapping from a blinded ciphertext to its supporting evidence. | |
| typedef CODEX_Server::ServerState::ChallengeVector | ChallengeVector |
| Convenient short name. | |
Public Member Functions | |
| ClientReadCallback (CODEX_Events::DeadPileType &deadPile, CODEX_Events::QType &eventQueue, CODEX_Server::SignRequestHandler *destination, ClientResponseHandler *clientAct, const LabeledReadKeyMsg &req, const unsigned char *seqNum, CODEX_Server::BroadcastRequestHandler *reqHandler) | |
| Constructor. | |
| virtual | ~ClientReadCallback () |
| Virtual destructor. | |
| bool | operator() (unsigned int server, CODEX_Quorum::Message *msg) |
| void | fail () |
| On failure, callbacks should close the connection to the client. | |
| const unsigned char * | seqNum () const |
| The sequence number for the request. | |
| virtual bool | operator() (unsigned int server, Message *msg)=0 |
| virtual bool | handler (EventAck &event) |
| The base class is responsible for handling acknowledgements, which are relevant to whether the Activity is ready for deletion. | |
Static Public Attributes | |
| static const unsigned int | NumShares = ShareType::NumShares |
| Shorthand for the number of shares in a sharing. | |
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. | |
Classes | |
| struct | BN_less |
| This is probably toss-able. | |
Once sufficient responses have been received, this will generate an event to request a threshold signature.
Definition at line 46 of file ClientReadCallback.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