|
Public Member Functions |
| CIAO_RepositoryManagerDaemon_i (CORBA::ORB_ptr the_orb) |
virtual | ~CIAO_RepositoryManagerDaemon_i (void) |
virtual void | shutdown () throw ( CORBA::SystemException ) |
virtual void | installPackage (const char *installationName, const char *location) throw ( CORBA::SystemException, ::Deployment::NameExists, ::Deployment::PackageError ) |
virtual void | createPackage (const char *installationName, const ::Deployment::PackageConfiguration &package, const char *baseLocation,::CORBA::Boolean replace) throw ( CORBA::SystemException, ::Deployment::NameExists, ::Deployment::PackageError ) |
virtual ::Deployment::PackageConfiguration * | findPackageByName (const char *name) throw ( CORBA::SystemException, ::Deployment::NoSuchName ) |
virtual ::Deployment::PackageConfiguration * | findPackageByUUID (const char *UUID) throw ( CORBA::SystemException, ::Deployment::NoSuchName ) |
virtual ::CORBA::StringSeq * | findNamesByType (const char *type) throw ( CORBA::SystemException ) |
virtual ::CORBA::StringSeq * | getAllNames () throw ( CORBA::SystemException ) |
virtual ::CORBA::StringSeq * | getAllTypes () throw ( CORBA::SystemException ) |
virtual void | deletePackage (const char *installationName) throw ( CORBA::SystemException, ::Deployment::NoSuchName ) |
Protected Member Functions |
Deployment::PackageConfiguration * | retrieve_PC (char *package, char *cwd) |
| function to parse and return the PackageConfiguration
|
int | extract_necessary_files (char *package, char *PID, ACE_CString &pcd_name) |
int | write_to_disk (const char *full_path, const CORBA::Octet *buffer, size_t length) |
int | write_to_disk (const char *full_path, ACE_Message_Block &mb, bool replace=true) |
CORBA::Octet * | read_from_disk (const char *full_path, size_t &lenght) |
Private Types |
typedef ACE_Hash_Map_Manager_Ex<
ACE_CString, ACE_CString,
ACE_Hash< ACE_CString >,
ACE_Equal_To< ACE_CString >,
ACE_RW_Mutex > | PCMap |
typedef PCMap::iterator | PCMap_Iterator |
Private Attributes |
PCMap | names_ |
PCMap | uuids_ |
CORBA::ORB_var | the_orb_ |