Public Member Functions | |
fileRef_i () | |
fileRef_i (Engines::Container_ptr container, const char *origFileName) | |
virtual | ~fileRef_i () |
char * | origFileName () |
char * | refMachine () |
Engines::Container_ptr | getContainer () |
CORBA::Boolean | addRef (const char *machine, const char *fileName) |
char * | getRef (const char *machine) |
Protected Attributes | |
Engines::Container_var | _container |
std::string | _origFileName |
std::string | _machine |
std::map< std::string, std::string > | _copies |
fileRef_i::fileRef_i | ( | ) |
Default constructor, not for use
fileRef_i::fileRef_i | ( | Engines::Container_ptr | container, |
const char * | origFileName | ||
) |
Constructor to use
|
virtual |
Destructor
char * fileRef_i::origFileName | ( | ) |
CORBA method:
char * fileRef_i::refMachine | ( | ) |
CORBA method:
Engines::Container_ptr fileRef_i::getContainer | ( | ) |
CORBA method:
CORBA::Boolean fileRef_i::addRef | ( | const char * | machine, |
const char * | fileName | ||
) |
CORBA method: after a file transfer on a client computer, registers hostname of client and file path of the copied file.
machine | client hostname |
fileName | asolute path of the transfered file on client computer |
char * fileRef_i::getRef | ( | const char * | machine | ) |
CORBA method: check if a copy of the file referenced by fileRef is available on the client computer.
machine | hostname of the client computer |