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

tacpp::DeviceUser_data Class Reference

entry about one active user on device More...

#include <CoreDevice.h>

List of all members.

Public Member Functions

 DeviceUser_data (const string, const string, const string, const ipaddr, const ipaddr, const db_user)
 DeviceUser_data ()
 ~DeviceUser_data ()
void update (const string, const string, const ipaddr)
void update ()
void setActive ()
bool isActive ()
bool isExpired ()
void setPresent (const bool)
bool isPresent ()
string getUsername ()
bool compareUsername (const string)
string getPort ()
bool comparePort (const string)
string getPhone ()
ipaddr getUserAddr ()
db_user getDbData ()
ipaddr getNasAddr ()
bool compareNasAddr (const ipaddr)
bool match_time (const time_t)
void operator= (DeviceUser_data)


Detailed Description

entry about one active user on device

Author:
rv
Version:
1


Constructor & Destructor Documentation

DeviceUser_data::DeviceUser_data (  const  string,
const  string,
const  string,
const  ipaddr,
const  ipaddr,
const  db_user
) 
 

store information

DeviceUser_data::DeviceUser_data (   ) 
 

set default information

DeviceUser_data::~DeviceUser_data (   ) 
 

free user information


Member Function Documentation

bool DeviceUser_data::compareNasAddr (  const  ipaddr  ) 
 

compare device addresses

bool DeviceUser_data::comparePort (  const  string  ) 
 

compare portnames

bool DeviceUser_data::compareUsername (  const  string  ) 
 

compare username with this

db_user DeviceUser_data::getDbData (   ) 
 

get database data stored inside

ipaddr DeviceUser_data::getNasAddr (   ) 
 

get network device address

string DeviceUser_data::getPhone (   ) 
 

get from phone information

string DeviceUser_data::getPort (   ) 
 

get port information

ipaddr DeviceUser_data::getUserAddr (   ) 
 

get user ip addr information

string DeviceUser_data::getUsername (   ) 
 

get username information

bool DeviceUser_data::isActive (   ) 
 

is this user active?

bool DeviceUser_data::isExpired (   ) 
 

is this user expired

bool DeviceUser_data::isPresent (   ) 
 

get present flag

bool DeviceUser_data::match_time (  const  time_t  ) 
 

is permitted user work time ?

void DeviceUser_data::operator= (  DeviceUser_data   ) 
 

copy constructor

void DeviceUser_data::setActive (   ) 
 

set active flag

void DeviceUser_data::setPresent (  const  bool  ) 
 

set present flag

void DeviceUser_data::update (   ) 
 

update last time of entry

void DeviceUser_data::update (  const  string,
const  string,
const  ipaddr
) 
 

update user information


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