Main Page   Class Hierarchy   Compound List   File List   Compound Members  

AxisConfig Class Reference

class for taking configuration parameters. More...

#include <AxisConfig.h>

List of all members.

Public Methods

 AxisConfig ()
 ~AxisConfig ()
char * GetWsddFilePath ()
char * GetAxisLogPath ()
int ReadConfFile ()


Detailed Description

class for taking configuration parameters.

The purpose of this class is to provide a way so that the server takes the configuration path where the axiscpp.conf lies from the environment variable AXIS_HOME. User has to set this variable pointing the path to axiscpp.conf file. This axiscpp.conf file contains all the configuration paths like wsdd configuration file path, axis log path etc.

Author:
Damitha Kumarage (damitha@opensource.lk, damitha@jkcsworld.com)


Member Function Documentation

char * AxisConfig::GetAxisLogPath  
 

This is called to get the AxisLog file path.

Returns:
the AxisLog file path.

char * AxisConfig::GetWsddFilePath  
 

This is called to get the server.wsdd file path.

Returns:
the server.wsdd file path

int AxisConfig::ReadConfFile  
 

This method will read from the configuration file called axiscpp.conf which is located in a place defined by AXIS_HOME environment variable.

Returns:
The status which indicates whether the operation is success (AXIS_SUCCESS) or not (AXIS_FAIL).


The documentation for this class was generated from the following files:
Generated on Wed Dec 24 18:04:59 2003 for axisc++ by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002