Client majordomo
Err | Majordomo::AskForEsoCertificates () Asks for Eso certificates |
Err | Majordomo::DRCAnswerHeader (const MsgField *dataField) Serves CMD_ANSWER_HEADER message |
Err | Majordomo::DRCDTSGetFields (const MsgField *dataFld, GMessage **replyToAC, TID *replyToTID, TID *inReplyToTID, MsgField **ffid, MsgField **keywords, MsgField **dataToStoreFld) Parses the GMessage comming with command CE_DATA_TO_STORE |
Err | Majordomo::DRCDataToStore (const MsgField *dataFld, const ACID acid) Serves CE_DATA_TO_STOR command |
Err | Majordomo::DRCMoneyFromClient (MsgField *dataFld) Serves command from client |
Err | Majordomo::FillReplyAllocation (GMessage *outMsg, TID inReplyToTID, MsgField *payPlan) Sets the outMsg as ReplyAllocation |
Err | Majordomo::FillReplyFile (GMessage *outMsg, TID inReplyToTID, MsgField *aFile) Sets the outMsg as ReplyFile |
Err | Majordomo::FillReplyFileStored (GMessage *outMsg, TID inReplyToTID) Sets the outMsg as ReplyFileStored |
Err | Majordomo::FillReplyHeader (GMessage *outMsg, TID inReplyToTID, GMessage *aHeader) Sets the outMsg as ReplyHeader |
ACManager* | Majordomo::GetPtrToACManager (Char *type) Returns pointer to ACManager |
ACManager* | Majordomo::GetPtrToACManager (Char *type) Returns pointer to ACManeger |
ESTime* | Majordomo::GetTime () Gets current time |
Err | Majordomo::HandleGeneratedAC (GMessage *generatedAC) Handles generated access certificate |
Err | Majordomo::HandleGeneratedAC (GMessage *generatedAC) Saves the generated AC to ACManager |
Err | Majordomo::Initialize () Initializes Bank Majordomo |
Err | Majordomo::InsertToOutMsgQueue (GMessage *msg) Inserts message to outMsgQueue |
GMessage* | Majordomo::LoadPrivateKey () Returns Client's privKey |
void | Majordomo::SendData (MsgField * data, GMessage * destination, string destinationType, Size hops) Send data to onion |
Err | Majordomo::SendToEsos (Char *command, GMessage *msg, Int count) Sends message to number of Esos |
void | Majordomo::StoreFile (ArrayGMessage *certificates) Stores file on Esos |
Err | Majordomo::SwitchDataReceivedCommand (const Char *command, const MsgField *dataFld, const ACID acid) Chooses the method to handle the command |
methods
|
attributes | |||||||||||||
methods
|
Client majordomo. Implements all the tasks for communication with Eso Mix Bank and is an expert in protocols used between these entities.
acid - ID of this Eso access certificate which was used to address thid message
Reply-To-ID: ID of a message assigned by sender (Client)
FFID:
Keywords:
Data:
replyToAC - out parameter for Reply-To access certificate
replyToTID - out parameter for Reply-To message ID
inReplyToTID - out parameter for In-Reply-To message ID
ffid - out parameter for file find ID
keywords - out parameter for keywords
dataToStoreFld - out parameter for data to store
In-Reply-To-TID: ID of a EC_REPLY_ALLOC message
Reply-To-ID: ID of a message assigned by sender (Client)
Reply-To-AC: AC to reply to
FFID:
Keywords:
Data:
destination - Onion to send the data to.
hops - number of hops to add.
msg - message to be sent to Esos
count - count of Esos to send the message to
dataFld - got data
acid - ID of certificate to which the message was sent
alphabetic index hierarchy of classes
generated by doc++