|
Public Member Functions |
| CIAO_new_RepositoryManagerDaemon_i (CORBA::ORB_ptr the_orb) |
| Constructor.
|
virtual | ~CIAO_new_RepositoryManagerDaemon_i (void) |
| Destructor.
|
virtual void | shutdown () throw (CORBA::SystemException) |
| shutdown method to shut down the orb gracefully
|
virtual void | installPackage (const char *installationName, const ::Deployment::Package &the_package,::CORBA::Boolean replace) throw (CORBA::SystemException, ::Deployment::NameExists, ::Deployment::PackageError) |
| This method allow you to install a package into the RM.
|
virtual ::Deployment::DeploymentPlan * | retrievePlan (const char *packageName) throw (CORBA::SystemException, ::Deployment::NoPlan) |
virtual ::Deployment::Package * | findPackageByName (const char *name) throw (CORBA::SystemException, ::Deployment::NoSuchName) |
virtual ::Deployment::Implementation * | findImplementationByName (const char *implementation_name, const char *package_name) throw (CORBA::SystemException, ::Deployment::NoSuchName) |
virtual ::Deployment::Package * | findPackageByUUID (const char *UUID) throw (CORBA::SystemException, ::Deployment::NoSuchName) |
| not implemented
|
virtual ::Deployment::Implementation * | findImplementationByUUID (const char *UUID) throw (CORBA::SystemException, ::Deployment::NoSuchName) |
| not implemented
|
virtual ::CORBA::StringSeq * | getAllPackageNames () throw (CORBA::SystemException) |
| get the names of all packages currently installed in the RM
|
virtual void | deletePackage (const char *installationName) throw (CORBA::SystemException, ::Deployment::NoSuchName) |
Protected Member Functions |
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 > | RepositoryDatabase |
typedef RepositoryDatabase::iterator | RepositoryDatabase_Iterator |
Private Attributes |
RepositoryDatabase | packages_ |
CORBA::ORB_var | the_orb_ |