ESA JPIP server
0.1
|
Contains information of a connected client. More...
#include <client_info.h>
Public Member Functions | |
ClientInfo (int base_id, int sock, int father_sock) | |
Initializes the object. More... | |
int | sock () const |
Returns the client socket. More... | |
int | base_id () const |
Returns the base identifier. More... | |
int | father_sock () const |
Returns the father socket. More... | |
long | bytes_sent () const |
Returns the total bytes sent. More... | |
long | time () const |
Returns the time spent from the starting of the connection. More... | |
virtual | ~ClientInfo () |
Private Attributes | |
int | sock_ |
Client socket. More... | |
int | base_id_ |
Base identifier. More... | |
time_t | tm_start |
When the connection started. More... | |
int | father_sock_ |
Father socket. More... | |
long | bytes_sent_ |
Total bytes sent. More... | |
Contains information of a connected client.
|
inline |
Initializes the object.
base_id | Base identifier. |
sock | Client socket. |
father_sock | Father socket. |
|
inlinevirtual |
|
inline |
Returns the base identifier.
|
inline |
Returns the total bytes sent.
|
inline |
Returns the father socket.
|
inline |
Returns the client socket.
|
inline |
Returns the time spent from the starting of the connection.
|
private |
Base identifier.
|
private |
Total bytes sent.
|
private |
Father socket.
|
private |
Client socket.
|
private |
When the connection started.