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

tacpp::Listener_data Class Reference

data for listener More...

#include <CoreListener.h>

List of all members.

Public Member Functions

void lock ()
void unlock ()
void lock2 ()
void unlock2 ()
void llock ()
void lunlock ()
bool isCreated ()
void setCreated (bool)
void add_session ()
void del_session ()
int con_session ()
void setServname (string)
string getServname ()
void setMaxconnect (int)
int getMaxconnect ()
void setAcl (int)
int getAcl ()
void setPort (unsigned int)
unsigned int getPort ()
void setServertype (int)
int getServertype ()
 Listener_data (unsigned int, int, int, void(*)(int, struct in_addr, int, char *), int, pthread_mutex_t *)
void create ()
 ~Listener_data ()
void destroy ()

Public Attributes

void(* UsersFunction )(int, struct in_addr, int, char *)


Detailed Description

data for listener

Version:
1
Author:
rv


Constructor & Destructor Documentation

Listener_data::Listener_data unsigned  int,
int  ,
int  ,
void(*  )(int, struct in_addr, int, char *),
int  ,
pthread_mutex_t * 
 

init

Listener_data::~Listener_data  ) 
 

free


Member Function Documentation

void Listener_data::add_session  ) 
 

add thread descriptor counter

int Listener_data::con_session  ) 
 

number of threads

void Listener_data::create  ) 
 

create threads

void Listener_data::del_session  ) 
 

delete from counter

void Listener_data::destroy  ) 
 

destroy server

int Listener_data::getAcl  ) 
 

get acl value

int Listener_data::getMaxconnect  ) 
 

maximum connect

unsigned int Listener_data::getPort  ) 
 

get port value

int Listener_data::getServertype  ) 
 

get servertype value

string Listener_data::getServname  ) 
 

servname

bool Listener_data::isCreated  ) 
 

is server can continue work

void Listener_data::llock  ) 
 

all listeners lock

void Listener_data::lock  ) 
 

set lock

void Listener_data::lock2  ) 
 

set lock

void Listener_data::lunlock  ) 
 

all listeners unlock

void Listener_data::setAcl int   ) 
 

acl_

void Listener_data::setCreated bool   ) 
 

set flag for server continue or stop work

void Listener_data::setMaxconnect int   ) 
 

maxconnect_

void Listener_data::setPort unsigned  int  ) 
 

port_

void Listener_data::setServertype int   ) 
 

servertype_

void Listener_data::setServname string   ) 
 

servname_

void Listener_data::unlock  ) 
 

remove lock

void Listener_data::unlock2  ) 
 

remove lock


Member Data Documentation

void(* tacpp::Listener_data::UsersFunction)(int,struct in_addr,int,char*)
 

function pointer


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