Class responsible for handling messages comming to Eso
Majordomo (Eso * parent, LogFile * majordomoLogFile) Eso's majordomo constructor. | |
Err | Majordomo::DRCAnswerFromBank (MsgField *dataInMsgFld) DRCAnswerFromBank (cmd be_reply_to_resp) Dlouhy_komentar |
Err | Majordomo::DRCAnswerFromBank (MsgField *dataInMsgFld) DRCAnswerFromBank (cmd be_reply_to_resp) |
Err | Majordomo::DRCAnswerFromEso (MsgField *dataFld) Serves Eso's answer to reply to its request for money |
Err | Majordomo::DRCAnswerHeader (const MsgField *dataFld) Serves CE_REPLY_HEADER message |
MsgField* | Majordomo::DecryptByACPriv (const ACID acid, const MsgField *eData) Decrypts data by private key |
MsgField* | Majordomo::DecryptByACPriv (const ACID acid, const MsgField *eData) Decrypts data with access private key |
void | Majordomo::DownloadFile () Downloads file from Esos |
void | Majordomo::DownloadHeaders () Downloads headers from Esos |
GMessage* | Majordomo::GetCertificates (string type, Size count) Asks mix for some certificates and then returns them |
void | Majordomo::GetCertificates (GMessage * request) Returns certificates from Mix's repository (Certificate Repository) |
GMessage* | Majordomo::GetOnion (Size onionLen, Size requestID) Asks Mix for onion |
ACManager* | Majordomo::GetPtrToACManager (Char *) Returns always NULL |
void | Majordomo::RequestStorage (ArrayGMessage *certificates, File *fileToStore) Asks Esos to store the file |
void* | Majordomo::Run (void *) Acs majordomo Run() method |
void* | Majordomo::Run (void * ) Run method in Client Majordomo |
void* | Majordomo::Run (void *) Decides what to do with messages for which Mix is a final point |
void | Majordomo::WaitForAnswersToReqForStor (int requestsSent) Waits for answers to CE_REQUEST_FOR_STOR |
Majordomo::~Majordomo () Destructor of Majordomo |
Functions for ACManagers |
methods
|
methods
attributes
methods
Class responsible for handling messages comming to Eso. This class encapsulates main Eso's functionality. Its behaviour is inherited from general SixManager. Majordomo is capable of receiving messages from Mix and other Sixes in the Eternity Service, taking appropriate actions (such as to store or find a file) and creating replies.
eData - encrypted data
eData - Encrypted data
Command: get_certificates
Parameters:
Count:
Certificate-Type:
Request-ID:
count - Count of certificates to get.
GM_PARAMETERS
CERTIFICATE_TYPE
GM_COUNT
requestID - RequestID to send to client
fileToStore - file to try to store
Command: data_received
Parameters:
Data:
Command: get_certificates
Request-ID: ... Mix's request ID
Parameters:
Onion:
Certificate-Type:
Count:
Request-ID:
or
Command: data_received
Parameters:
Data:
Command: publish_certificates
Parameters:
Certificate-1:
Certificate-2:
...
Certificate-n:
And sends back a reply:
Command: send_data
Parameters:
Add-Hops:
Onion:
Data:
Command: certificates_received
Request-ID: ... Mix's request ID
Parameters:
Request-ID:
Certificates:
Certificae-1:
Certificae-2:
...
Certificae-n:
alphabetic index hierarchy of classes
generated by doc++