n2nc::ClientInfo Class Reference

#include <clientinfo.h>

Collaboration diagram for n2nc::ClientInfo:

Collaboration graph
[legend]

List of all members.

Public Types

typedef u_int32_t ClientID

Public Member Functions

 ClientInfo (ClientID id, net::Socket *sk)
ClientID getKeyID ()
time_t setAckTime ()
int setServicePort (uint16_t port)
uint16_t getServicePort ()
net::SocketgetCtlSock ()
net::SocketAddressgetSrvSocketAddr ()
bool checkStatus ()


Detailed Description

Author:
fabsoft <fabsoft@gmail.com>

Definition at line 19 of file clientinfo.h.


Member Function Documentation

time_t n2nc::ClientInfo::setAckTime (  ) 

Refresh the ack timestamp

Definition at line 22 of file clientinfo.cpp.

bool n2nc::ClientInfo::checkStatus (  ) 

Returns:
true if the client is currently online, false if the client timeout is expired

Definition at line 26 of file clientinfo.cpp.


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

Generated on Mon Oct 6 19:32:19 2008 for n2nc by  doxygen 1.5.5