Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

ClientData Class Reference

List of all members.

Public Member Functions

 ClientData ()

Public Attributes

sockaddr_in sock
SOCKLEN_TYPE socklen
char client_name [MAXHOSTNAMELEN]
string client_logname
istream * ci
ostream * co
CServersrvr
char groupname [MAXGROUPNAMELEN]
Newsgroupgrp
int nbr
AccessEntryaccess_entry
char auth_user [512]
char auth_pass [512]
int auth_state
int auth_failures
int auth_max_failures
int auth_failure_sleep_time
int stat_groups
int stat_artingrp
int stat_articles
NNRPCommandMap client_command_map

Detailed Description

Author:
Thomas Gschwind

Bug:
Documentation is missing.

Definition at line 317 of file NewsCache.cc.


Constructor & Destructor Documentation

ClientData::ClientData  )  [inline]
 

Definition at line 350 of file NewsCache.cc.

References access_entry, auth_failure_sleep_time, auth_failures, auth_max_failures, AUTH_OK, auth_pass, auth_state, auth_user, client_logname, groupname, grp, nbr, stat_articles, stat_artingrp, and stat_groups.

00351         :client_logname(""),
00352             grp(NULL), nbr(-1),
00353             access_entry(NULL), auth_state(AUTH_OK), auth_failures(0),
00354             auth_max_failures(3), auth_failure_sleep_time(15),
00355             stat_groups(0), stat_artingrp(0), stat_articles(0) {
00356                 auth_user[0] = auth_pass[0] = '\0';
00357                 groupname[0] = '\0';
00358 }};


Member Data Documentation

AccessEntry* ClientData::access_entry
 

Definition at line 331 of file NewsCache.cc.

Referenced by check_auth_file(), check_auth_unix(), check_authentication(), ClientData(), nnrpd(), ns_group(), ns_list(), ns_listgroup(), ns_newgroups(), ns_post(), ns_xdebug(), and set_client_command_table().

int ClientData::auth_failure_sleep_time
 

Definition at line 337 of file NewsCache.cc.

Referenced by ClientData(), and ns_authinfo().

int ClientData::auth_failures
 

Definition at line 335 of file NewsCache.cc.

Referenced by ClientData(), nnrpd(), and ns_authinfo().

int ClientData::auth_max_failures
 

Definition at line 336 of file NewsCache.cc.

Referenced by ClientData(), and nnrpd().

char ClientData::auth_pass[512]
 

Definition at line 333 of file NewsCache.cc.

Referenced by check_auth_file(), check_auth_unix(), ClientData(), and ns_authinfo().

int ClientData::auth_state
 

Definition at line 334 of file NewsCache.cc.

Referenced by ClientData(), nnrpd(), and ns_authinfo().

char ClientData::auth_user[512]
 

Definition at line 332 of file NewsCache.cc.

Referenced by check_auth_file(), check_auth_unix(), ClientData(), nnrpd(), and ns_authinfo().

istream* ClientData::ci
 

Definition at line 323 of file NewsCache.cc.

Referenced by nnrpd(), and ns_post().

NNRPCommandMap ClientData::client_command_map
 

Definition at line 348 of file NewsCache.cc.

Referenced by nnrpd(), ns_help(), and set_client_command_table().

string ClientData::client_logname
 

Definition at line 322 of file NewsCache.cc.

Referenced by ClientData(), and nnrpd().

char ClientData::client_name[MAXHOSTNAMELEN]
 

Definition at line 321 of file NewsCache.cc.

Referenced by nnrpd().

ostream* ClientData::co
 

Definition at line 324 of file NewsCache.cc.

Referenced by nnrpd(), ns_article(), ns_authinfo(), ns_date(), ns_group(), ns_help(), ns_lastnext(), ns_list(), ns_listgroup(), ns_mode(), ns_newgroups(), ns_post(), ns_quit(), ns_stat(), ns_xdebug(), ns_xmotd(), ns_xover(), and nsh_particle().

char ClientData::groupname[MAXGROUPNAMELEN]
 

Definition at line 327 of file NewsCache.cc.

Referenced by ClientData(), nnrpd(), ns_article(), ns_lastnext(), ns_listgroup(), ns_stat(), ns_xover(), and selectgroup().

Newsgroup* ClientData::grp
 

Definition at line 328 of file NewsCache.cc.

Referenced by ClientData(), ns_article(), ns_lastnext(), ns_listgroup(), ns_stat(), ns_xover(), and selectgroup().

int ClientData::nbr
 

Definition at line 329 of file NewsCache.cc.

Referenced by ClientData(), ns_article(), ns_lastnext(), ns_stat(), ns_xover(), and selectgroup().

struct sockaddr_in ClientData::sock
 

Definition at line 319 of file NewsCache.cc.

Referenced by nnrpd().

SOCKLEN_TYPE ClientData::socklen
 

Definition at line 320 of file NewsCache.cc.

Referenced by nnrpd().

CServer* ClientData::srvr
 

Definition at line 326 of file NewsCache.cc.

Referenced by nnrpd(), ns_article(), ns_lastnext(), ns_list(), ns_listgroup(), ns_newgroups(), ns_post(), ns_stat(), ns_xover(), and selectgroup().

int ClientData::stat_articles
 

Definition at line 346 of file NewsCache.cc.

Referenced by ClientData(), nnrpd(), and ns_article().

int ClientData::stat_artingrp
 

Definition at line 345 of file NewsCache.cc.

Referenced by ClientData(), nnrpd(), ns_article(), and selectgroup().

int ClientData::stat_groups
 

Definition at line 344 of file NewsCache.cc.

Referenced by ClientData(), nnrpd(), and selectgroup().


The documentation for this class was generated from the following file:
Generated on Fri Aug 20 10:58:09 2004 for NewsCache by doxygen 1.3.6-20040222