#include <mcs.hh>
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. | |
Data & | commandExecuted () |
Number of commands executed. | |
Data & | hostname () |
Hostname of client. | |
Data & | id () |
Client ID, the same as the one returned with the MCS_CMD_CID command. | |
Data & | ipaddress () |
IP address of client. | |
Data & | lastCommand () |
Last command executed. | |
Data & | logged () |
True if the client has logged in. | |
Data & | timeConnetcted () |
Time at which the client connected. | |
Data & | timeLastCommand () |
Time at which the last command was executed. | |
Data & | username () |
User name. |
Data & mcs::ClientInfo::commandExecuted | ( | ) |
Data & mcs::ClientInfo::id | ( | ) |
Data & mcs::ClientInfo::ipaddress | ( | ) |
Data & mcs::ClientInfo::lastCommand | ( | ) |
Data & mcs::ClientInfo::logged | ( | ) |
Data & mcs::ClientInfo::timeConnetcted | ( | ) |
Data & mcs::ClientInfo::timeLastCommand | ( | ) |
![]() |
MCS (My Customizable Server) ver. 0.3.3-alpha3
|