EPICS ARCHIVER V4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ea4::storage::RPCServerConfig Class Reference

The RPC Server Configuration. More...

#include <RPCServerConfig.h>

Classes

class  Entry
 Configuration entry. More...
 

Public Member Functions

const char * getConfigName ()
 Returns the name of the XML file defined by the env variable 'SERVERCONFIG'.
 
bool read (const char *filename)
 Reads the XML file that matches serverconfig.dtd.
 
bool find (int key, std::string &path)
 Finds path for key or returns false. More...
 
Index * openIndex (int key)
 Returns the selected Index file.
 
void dump ()
 Print this configuration.
 

Static Public Member Functions

static RPCServerConfig * getInstance ()
 Returns singleton.
 

Public Attributes

std::list< Entry > config
 Collection of the config entries.
 
std::string verTxt
 version
 
int ver
 version
 

Detailed Description

The RPC Server Configuration.

Reads the config from an XML file that should conform to serverconfig.dtd.

Member Function Documentation

bool ea4::storage::RPCServerConfig::find ( int  key,
std::string &  path 
)

Finds path for key or returns false.


The documentation for this class was generated from the following file: