(1024*1024*4) class CAVERN_initAttrib_c

Class to set CAVERN initialization attributes

Public Methods

char* getDBName ()
Get the data store name.
unsigned long getMaxMutexMem ()
Get Max Shared Mem allocated for Sproc Mutex (only used for Sproc version of CAVERN)
int getMaxThreads ()
Get Max number of threads allowable. (only used for Sproc version of CAVERN)
char* getPassword ()
Get the IRB's Password.
unsigned short getPort ()
Get default main port of CAVERN client.
void setDBName (char *dbRootName)
Set the data store name. By default the datastore name is set as: CAVERN_DEFAULT_DB.
void setLogLocalFile (char * filename)
Set local filename to store network performance logging information.
void setLogOrganization (char *org)
By setting the organization field all performance logging info generated by you will be labelled with the name
void setLogRemoteHost (char *hostname)
Set the remote host to which performance information is sent
void setLogRemotePort (int port)
Set the remote port that the remote performance monitoring daemon is listening to
void setMaxMutexMem (unsigned long max)
Set Max Shared Mem allocated for Sproc Mutex (only used for Sproc version of CAVERN)
void setMaxThreads (int max)
Set Max number of threads allowable. (only used for Sproc version of CAVERN)
void setPassword (char *pass)
Set the IRB's Password that will be used for locking keys
void setPort (unsigned short thePort)
Change CAVERN default main port to something else

Documentation

Class to set CAVERN initialization attributes. With this you can choose the port to open for your personal IRB and you can choose the name of the local CAVERN data-store. Other attributes will be added with time.
void setPort(unsigned short thePort)
Change CAVERN default main port to something else. Must be a number greater than 6000. The main port is the port that all IRBs connect to first before establishing any other communication lines.

void setPassword(char *pass)
Set the IRB's Password that will be used for locking keys. This is basically a way for your IRB to identify itself uniquely to other IRBs so that when keys are locked, they are locked using the password.
See Also:
CAVERN_irbKey_c::lock(), CAVERN_irbLink_c::lockRemote()

void setLogOrganization(char *org)
By setting the organization field all performance logging info generated by you will be labelled with the name. (e.g. EVL_UIC)

void setLogRemoteHost(char *hostname)
Set the remote host to which performance information is sent. The remote host needs to be running perf_daemon to capture this information. See demos/performance_monitoring/perf_daemon for more info. Default is NONE.

void setLogRemotePort(int port)
Set the remote port that the remote performance monitoring daemon is listening to. Default is: 14830.


This class has no child classes.

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