Vault  4.1
Public Member Functions | Public Attributes
VSocketInfo Class Reference

VSocketInfo is essentially a structure that just contains a copy of information about a VSocket as it existed at the point in time when the VSocketInfo was created. More...

#include <vsocket.h>

List of all members.

Public Member Functions

 VSocketInfo (const VSocket &socket)
 Constructs the object by copying the info from the socket.
virtual ~VSocketInfo ()
 Destructor.

Public Attributes

VSocketID mSocketID
 The sock id.
VString mHostIPAddress
 The IP address of the host to which the socket is connected.
int mPortNumber
 The port number on the host to which the socket is connected.
Vs64 mNumBytesRead
 Number of bytes read from this socket.
Vs64 mNumBytesWritten
 Number of bytes written to this socket.
VDuration mIdleTime
 Amount of time elapsed since last activity.

Detailed Description

VSocketInfo is essentially a structure that just contains a copy of information about a VSocket as it existed at the point in time when the VSocketInfo was created.

Definition at line 534 of file vsocket.h.


Constructor & Destructor Documentation

VSocketInfo::VSocketInfo ( const VSocket socket)

Constructs the object by copying the info from the socket.

Parameters:
socketthe socket to take the information from

Definition at line 648 of file vsocket.cpp.


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

Copyright ©1997-2014 Trygve Isaacson. All rights reserved. This documentation was generated with Doxygen.