freesecs::hsms_config_t Class Reference

Base class for parsing [key, value] tuples and holding parsed hsms settings. More...

#include <hsms_config.h>

Inheritance diagram for freesecs::hsms_config_t:

Inheritance graph
[legend]
Collaboration diagram for freesecs::hsms_config_t:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { NO_ERROR = 0, INVALID_TOKEN, INVALID_VALUE, NUM_OF_ERRORS }
enum  type_t { PASSIVE = 0, ACTIVE, UNDEFINED }

Public Member Functions

 hsms_config_t (const char *name)
 hsms_config_t (const hsms_config_t &)
hsms_config_toperator= (const hsms_config_t &)
virtual ~hsms_config_t ()
virtual bool is_valid () const
virtual int set_attr (const char *name, const char *value)
void complete ()

Public Attributes

std::string name
type_t type
uint32_t port
uint16_t t6
uint16_t t8
uint16_t linktest
uint16_t session_id

Static Public Attributes

static char * str_err [NUM_OF_ERRORS]

Protected Types

enum  {
  NAME = 1 << 0, TYPE = 1 << 1, IP = 1 << 2, PORT = 1 << 3,
  T5 = 1 << 5, T6 = 1 << 6, T7 = 1 << 7, T8 = 1 << 8,
  LINKTEST = 1 << 9, SESSION_ID = 1 << 10, UNEXPECTED = 1 << 11, COMPLETED = 1 << 12
}

Protected Attributes

uint32_t parse_flags

Detailed Description

Base class for parsing [key, value] tuples and holding parsed hsms settings.

See also:
hsms_config_parser_t

Definition at line 34 of file hsms_config.h.


The documentation for this class was generated from the following files:
Generated on Fri Oct 3 15:30:11 2008 for FREESECS hsms by  doxygen 1.5.1