 class  Majordomo : public Runable, public AcsOffspring
  class  Majordomo : public Runable, public AcsOffspring Acs majordomo
|  Err | Majordomo::CommandCertificatesReceived (MsgField *dataFld) Processes CMD_CERTIFICATES_RECEIVED command | 
|  Err | Majordomo::CommandControllACCount (MsgField *dataFld) Serves TO_CHECK_AC_COUNT command | 
|  Err | Majordomo::CommandDelFinderTbl (MsgField *dataFld) Serves the TO_DEL_FINDER_TBL command | 
|  Err | Majordomo::CommandTimeoutAllocation (MsgField *dataFld) Serves TO_ALLOC Processes timeout command for allocation | 
|  Err | Majordomo::DRCRFSGetFields (const MsgField *dataFld, GMessage **replyToAC, TID *replyToTID, Size *fileSize, RelTime **storageTime) Parses GMessage comming with CE_REQ_FOR_STOR command | 
|  Err | Majordomo::DRCReplyAllocation (const MsgField *dataFld) Serves the CE_REPLY_ALLOCATION message | 
|  Err | Majordomo::DRCReplyStorage (const MsgField *dataFld) Serves the reply to CE_DATA_TO_STOR Looks into the message, whether the storage was successful and prints the result to the stdout | 
|  Err | Majordomo::DRCRequestForFile (const MsgField *dataField, const ACID acid) Serves CMD_REQ_FOR_FILE message | 
|  Err | Majordomo::FillRequestForFile (GMessage *outMsg, MsgField * aFFID, GMessage *transportKey, Int depth, Int width) Sets the outMsg as RequestForFile | 
|  Err | Majordomo::FillRequestForHeaders (GMessage *outMsg, MsgField *aFAM, GMessage *transportKey, Int depth, Int width) Sets the outMsg as RequestForHeaders | 
|  void | Majordomo::FindFile (ArrayGMessage *certificates) Tries to find file on Esos | 
|  void | Majordomo::FindHeaders (ArrayGMessage *certificates) Tries to find headers on Esos | 
|  GMessage* | Majordomo::LoadPublicKey () Returns Client's pubKey | 
|   | Majordomo::Majordomo (Acs * parent, LogFile * majordomoLogFile) Acs Majordomo constructor | 
|   | Majordomo::Majordomo (Client * parent, LogFile * logFile) Constructor of Majordomo in Client | 
|   | Majordomo::Majordomo (Eso * parent, LogFile * majordomoLogFile) Eso Majordomo constructor | 
|   | methods 
 | 
 void  Runable::MaskAllSignals()
 void  Runable::MaskAllSignals()
 Runable::Runable(LogFile * logFile)
  Runable::Runable(LogFile * logFile)
 string*  Debugable::CreateString(char *firstStr, int firstInt, int secondInt)
 string*  Debugable::CreateString(char *firstStr, int firstInt, int secondInt)
 Debugable::Debugable(LogFile * debugLogFile)
  Debugable::Debugable(LogFile * debugLogFile)
 int  Debugable::SetDebugOptions(int newLogOptions)
 int  Debugable::SetDebugOptions(int newLogOptions)
 void  Debugable::SetLogFile(LogFile *aLogFile)
 void  Debugable::SetLogFile(LogFile *aLogFile)
 void  Debugable::WriteString(LogLevel debugLevel, char * format, ...)
 void  Debugable::WriteString(LogLevel debugLevel, char * format, ...)
 Debugable::~Debugable()
  Debugable::~Debugable()
attributes
 int  debugOptions
 int  debugOptions 
  LogFile*  logFile
 LogFile*  logFile 
  AcsOffspring::AcsOffspring(Acs * acs)
  AcsOffspring::AcsOffspring(Acs * acs)
Acs majordomo.. Processes various requests for certificates comming from network and takes apropriate action like sends back the requested certificates
 methods
  methods 
 Majordomo(Acs * parent, LogFile * majordomoLogFile)
  Majordomo(Acs * parent, LogFile * majordomoLogFile)
 virtual  void*  Run(void *)
 virtual  void*  Run(void *)
 Err  Majordomo::CommandCertificatesReceived(MsgField *dataFld)
 Err  Majordomo::CommandCertificatesReceived(MsgField *dataFld)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 Err  Majordomo::CommandControllACCount(MsgField *dataFld)
 Err  Majordomo::CommandControllACCount(MsgField *dataFld)
 Err  Majordomo::CommandDelFinderTbl(MsgField *dataFld)
 Err  Majordomo::CommandDelFinderTbl(MsgField *dataFld)
 Err  Majordomo::CommandTimeoutAllocation(MsgField *dataFld)
 Err  Majordomo::CommandTimeoutAllocation(MsgField *dataFld)
 Err  Majordomo::DRCRFSGetFields(const MsgField *dataFld, GMessage **replyToAC, TID *replyToTID, Size *fileSize, RelTime **storageTime)
 Err  Majordomo::DRCRFSGetFields(const MsgField *dataFld, GMessage **replyToAC, TID *replyToTID, Size *fileSize, RelTime **storageTime)
Reply-To-ID: ID of a message assigned by sender (Client)
File-Size: Size of file Client whishes to store
Storage-Time: RelTime for which the file should be stored
replyToAC -  out parameter for Reply-To access certificate
replyToTID -  out parameter for Reply-To message ID
fileSize -  out parameter for size of file whished to stored
storageTime -  out parameter for time for which the file should be stored
 Err  Majordomo::DRCReplyAllocation(const MsgField *dataFld)
 Err  Majordomo::DRCReplyAllocation(const MsgField *dataFld)
 Err  Majordomo::DRCReplyStorage(const MsgField *dataFld)
 Err  Majordomo::DRCReplyStorage(const MsgField *dataFld)
 Err  Majordomo::DRCRequestForFile(const MsgField *dataField, const ACID acid)
 Err  Majordomo::DRCRequestForFile(const MsgField *dataField, const ACID acid)
processes the incoming request for file
- searches for file on this server
- if not found, continues the search 
in the search tree
- if found, sends the file back to the client
- KO in the case of bad structure of dataField
or if fatal error comes (ex. NULL ptr to Finder)
- OK otherwise     
(that means even in case of mistake in any step
of the algorithm [ex. cannot send the message
back to client] - these situations are only
written to the logFile)
 Err  Majordomo::FillRequestForFile(GMessage *outMsg, MsgField * aFFID, GMessage *transportKey, Int depth, Int width)
 Err  Majordomo::FillRequestForFile(GMessage *outMsg, MsgField * aFFID, GMessage *transportKey, Int depth, Int width)
 Err  Majordomo::FillRequestForHeaders(GMessage *outMsg, MsgField *aFAM, GMessage *transportKey, Int depth, Int width)
 Err  Majordomo::FillRequestForHeaders(GMessage *outMsg, MsgField *aFAM, GMessage *transportKey, Int depth, Int width)
 void  Majordomo::FindFile(ArrayGMessage *certificates)
 void  Majordomo::FindFile(ArrayGMessage *certificates)
 void  Majordomo::FindHeaders(ArrayGMessage *certificates)
 void  Majordomo::FindHeaders(ArrayGMessage *certificates)
 GMessage*  Majordomo::LoadPublicKey()
 GMessage*  Majordomo::LoadPublicKey()
 Majordomo::Majordomo(Acs * parent, LogFile * majordomoLogFile)
  Majordomo::Majordomo(Acs * parent, LogFile * majordomoLogFile)
logFile -  Log file where to write messages
 Majordomo::Majordomo(Client * parent, LogFile * logFile)
  Majordomo::Majordomo(Client * parent, LogFile * logFile)
logFile -  LogFile to write to.
 Majordomo::Majordomo(Eso * parent, LogFile * majordomoLogFile)
  Majordomo::Majordomo(Eso * parent, LogFile * majordomoLogFile)
majordomoLogFile -  log file for debugging messages
alphabetic index hierarchy of classes
generated by doc++