class Partition_i : public virtual Component_i

Corba proxy object for the rcPartition object

Inheritance:


Public Methods

virtual CORBA::Long checkReady( CORBA::Long iCheckingLevel, CORBA::Environment &IT_env = CORBA::default_environment)
Calls checkReady on the partition proxy object
bool isPartitionServerRunning()
Returns true if we successfully connected to the partition server

Private Fields

bool bNoPartitionServer
If true we suppress any communication with the partition server
static const char* pccPartitionServerName
Name of the partition server as it is found in the name server
PartitionServer_var varPartitionServer
Corba _var to the partition server

Private Methods

int allocatePartitionFromPartitionServer()
Tries to allocate the named partition from the partition server
int connectToPartitionServer()
Tries to connect to the PartitionServer
int deallocatePartitionFromPartitionServer()
Tries to deallocate the named partition from the partition server
int obtainGranules()
Obtains a list of granules from the PartitionServer and allocates them

Documentation

Corba proxy object for the rcPartition object. The partition object has (like every object in the run control server that needs to talk to corba) a proxy whose only purpose is to be the mediator between the corba world and the object. This gives us the benefit of cleaning separating the corba from the non corba code. It forwards all member functions directly to the run control object. They both get created at initialisation time. See the rcPartition object for documentation on the individual member functions.

bool isPartitionServerRunning()
Returns true if we successfully connected to the partition server. In that case we use the PartitionServer to obtain the list of granules in the partition.

virtual CORBA::Long checkReady( CORBA::Long iCheckingLevel, CORBA::Environment &IT_env = CORBA::default_environment)
Calls checkReady on the partition proxy object

int connectToPartitionServer()
Tries to connect to the PartitionServer. If it succeeeds the member pccPartitionServerName is set.

int allocatePartitionFromPartitionServer()
Tries to allocate the named partition from the partition server. If successful, it will also add a command to the cleanup script to deallocate it.

int deallocatePartitionFromPartitionServer()
Tries to deallocate the named partition from the partition server

int obtainGranules()
Obtains a list of granules from the PartitionServer and allocates them

PartitionServer_var varPartitionServer
Corba _var to the partition server

static const char* pccPartitionServerName
Name of the partition server as it is found in the name server

bool bNoPartitionServer
If true we suppress any communication with the partition server


This class has no child classes.
Author:
C.Witzig
Date: Jan 25, 2000
Version:
Last update Jan 25, 2000

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de