Main Page | Class Hierarchy | Class List | File List | Class Members

tacpp::TacDb Class Reference

tacppd data database support More...

#include <TacDb.h>

Inheritance diagram for tacpp::TacDb:

tacpp::DbModule List of all members.

Public Member Functions

 TacDb (const char *, const char *, const char *, int, const char *, const char *, const char *)
 ~TacDb ()
db_user get (const string)
int size ()
string direct_function_query (char *)
string load ()
string create ()
string del (string, list< string >, list< string >)
string show (string, list< string >, list< string >)
list< string > sshow (string, list< string >, list< string >)
string add (string, list< string >, list< string >)
string modify (string, list< string >, list< string >, list< string >, list< string >)
string add_log (log_user *)
string add_trf (char *, SnmpOut *)
int open_nf ()
void close_nf (int)
string add_nf (int, Bit32, Bit32, Bit32, time_t, time_t, unsigned long, unsigned long, int)
string get_table_name (int)
string get_table_mask (int)
string get_table_descr (int)
string get_field_name (int, int)
string get_field_descr (int, int)
string get_field_defv (int, int)
int get_field_type (int, int)
int get_field_num (int)

Public Attributes

DLoaddl

Detailed Description

tacppd data database support

Version:
1
Author:
rv


Constructor & Destructor Documentation

TacDb::TacDb const char *  ,
const char *  ,
const char *  ,
int  ,
const char *  ,
const char *  ,
const char * 
 

init

TacDb::~TacDb  ) 
 

free


Member Function Documentation

string TacDb::add string  ,
list< string >  ,
list< string > 
 

add data

string TacDb::add_log log_user  ) 
 

add log information to file and to database

string TacDb::add_nf int  ,
Bit32  ,
Bit32  ,
Bit32  ,
time_t  ,
time_t  ,
unsigned  long,
unsigned  long,
int 
 

add traffic information from netflow aggregator

string TacDb::add_trf char *  ,
SnmpOut
 

add traffic information from SNMP interface counters to database

void TacDb::close_nf int   ) 
 

close database after netflow data

string TacDb::create  ) 
 

create table in database

string TacDb::del string  ,
list< string >  ,
list< string > 
 

del ent

string TacDb::direct_function_query char *   ) 
 

direct query to database

db_user TacDb::get const  string  ) 
 

get user info

string TacDb::get_field_defv int  ,
int 
 

get field def value

string TacDb::get_field_descr int  ,
int 
 

get field descr

string TacDb::get_field_name int  ,
int 
 

get field name

int TacDb::get_field_num int   ) 
 

get field number

int TacDb::get_field_type int  ,
int 
 

get field type

string TacDb::get_table_descr int   ) 
 

get table description

string TacDb::get_table_mask int   ) 
 

get table mask

string TacDb::get_table_name int   ) 
 

get table name

string TacDb::load  ) 
 

load

string TacDb::modify string  ,
list< string >  ,
list< string >  ,
list< string >  ,
list< string > 
 

mod data

int TacDb::open_nf  ) 
 

open database connect for netflow data

string TacDb::show string  ,
list< string >  ,
list< string > 
 

show data

int TacDb::size  ) 
 

size

list< string > TacDb::sshow string  ,
list< string >  ,
list< string > 
 

small/stripped show


Member Data Documentation

DLoad* tacpp::TacDb::dl
 

for dynaloader


The documentation for this class was generated from the following files:
Generated on Thu Jul 21 23:09:49 2005 for tacppd.kdevelop by doxygen 1.3.5