mcs::ClientInfo Class Reference

#include <mcs.hh>

Inheritance diagram for mcs::ClientInfo:

Inheritance graph
[legend]

List of all members.


Detailed Description

Class holding information about a client connection.

A reference to such an object can be obtained from the UserThread::info() method to obtain information about that client connection.

Definition at line 6288 of file mcs.hh.


Public Member Functions

 ClientInfo ()
 Constructor.
DatacommandExecuted ()
 Number of commands executed.
Datahostname ()
 Hostname of client.
Dataid ()
 Client ID, the same as the one returned with the MCS_CMD_CID command.
Dataipaddress ()
 IP address of client.
DatalastCommand ()
 Last command executed.
Datalogged ()
 True if the client has logged in.
DatatimeConnetcted ()
 Time at which the client connected.
DatatimeLastCommand ()
 Time at which the last command was executed.
Datausername ()
 User name.

Constructor & Destructor Documentation

mcs::ClientInfo::ClientInfo (  ) 

Constructor.

Definition at line 303 of file Server.cc.


Member Function Documentation

Data & mcs::ClientInfo::commandExecuted (  ) 

Number of commands executed.

Definition at line 324 of file Server.cc.

Data & mcs::ClientInfo::hostname (  ) 

Hostname of client.

Definition at line 319 of file Server.cc.

Data & mcs::ClientInfo::id (  ) 

Client ID, the same as the one returned with the MCS_CMD_CID command.

Definition at line 317 of file Server.cc.

Data & mcs::ClientInfo::ipaddress (  ) 

IP address of client.

Definition at line 318 of file Server.cc.

Data & mcs::ClientInfo::lastCommand (  ) 

Last command executed.

Definition at line 322 of file Server.cc.

Data & mcs::ClientInfo::logged (  ) 

True if the client has logged in.

Definition at line 325 of file Server.cc.

Data & mcs::ClientInfo::timeConnetcted (  ) 

Time at which the client connected.

Definition at line 320 of file Server.cc.

Data & mcs::ClientInfo::timeLastCommand (  ) 

Time at which the last command was executed.

Definition at line 323 of file Server.cc.

Data & mcs::ClientInfo::username (  ) 

User name.

Definition at line 321 of file Server.cc.


The documentation for this class was generated from the following files:
mcslogo

MCS (My Customizable Server) ver. 0.3.3-alpha3
Documentation generated on Thu Mar 22 13:22:23 UTC 2012