s_receive_later Struct Reference

Collaboration diagram for s_receive_later:

Collaboration graph
[legend]
List of all members.

Detailed Description

Stores data to receive later.

Author:
VooDooMan
Version:
2
Date:
2004, 2005

Definition at line 126 of file sock.cpp.

Public Member Functions

 s_receive_later ()

Public Attributes

list< s_datadata
 Array of data packets.
bool has_error
 Set to true, if we have data, but there's an error on the socket, or socket has been closed (by remote host).
int last_error
 Stores last error code.
time_t last_recv
 Timestamp of last receive operation.
s_socket socket
 Socket handle.
bool using_window
 Set to true if this socket is using message window callback to receive data.


Constructor & Destructor Documentation

s_receive_later::s_receive_later  )  [inline]
 

Definition at line 135 of file sock.cpp.

References s_socket::clear(), data, has_error, last_error, last_recv, socket, and using_window.

00136     {
00137         has_error=false;
00138         socket.clear();
00139         using_window=false;
00140         data.clear();
00141         last_error=0;
00142         last_recv=time(NULL);
00143     }

Here is the call graph for this function:


Member Data Documentation

list<s_data> s_receive_later::data
 

Array of data packets.

Definition at line 131 of file sock.cpp.

Referenced by s_receive_later().

bool s_receive_later::has_error
 

Set to true, if we have data, but there's an error on the socket, or socket has been closed (by remote host).

Definition at line 127 of file sock.cpp.

Referenced by s_receive_later(), and sock_create_later().

int s_receive_later::last_error
 

Stores last error code.

Definition at line 128 of file sock.cpp.

Referenced by s_receive_later(), and sock_create_later().

time_t s_receive_later::last_recv
 

Timestamp of last receive operation.

Definition at line 133 of file sock.cpp.

Referenced by s_receive_later(), and sock_create_later().

s_socket s_receive_later::socket
 

Socket handle.

Definition at line 129 of file sock.cpp.

Referenced by s_receive_later(), and sock_create_later().

bool s_receive_later::using_window
 

Set to true if this socket is using message window callback to receive data.

Definition at line 130 of file sock.cpp.

Referenced by s_receive_later(), and sock_create_later().


The documentation for this struct was generated from the following file:
Generated on Sun Jul 10 05:45:49 2005 for VooDoo cIRCle by doxygen 1.4.3

Hosted by SourceForge.net Logo