Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

aiosock::aiosock_socket Class Reference

keeps socket information including initiated asynchronous actions blocks More...

List of all members.

Public Member Functions

 aiosock_socket (bool tcp_udp, aio_sock_handle handle, terimber_aiosock_callback *callback)
 constructor
 aiosock_socket (const aiosock_socket &x)
 copies constructor
 ~aiosock_socket ()
 destructor

Public Attributes

aio_sock_handle _handle
 socket handle
terimber_aiosock_callback_client_obj
 pointer to the object for callback notofication
aiosock_pblock_alloc_list_t _incoming_list
 keeps incoming asynchronous requests
size_t _callback_invoking
 counter of the callbacks invoking
bool _tcp_udp
 type of socket TCP/UDP


Detailed Description

keeps socket information including initiated asynchronous actions blocks

Definition at line 133 of file aiosock.h.


Constructor & Destructor Documentation

aiosock::aiosock_socket::aiosock_socket ( bool  tcp_udp,
aio_sock_handle  handle,
terimber_aiosock_callback callback 
) [inline]

constructor

Parameters:
tcp_udp  socket type TCP/UDP
handle  handle
callback  callback

Definition at line 137 of file aiosock.h.

aiosock::aiosock_socket::aiosock_socket ( const aiosock_socket x  )  [inline]

copies constructor

Definition at line 145 of file aiosock.h.

aiosock::aiosock_socket::~aiosock_socket (  )  [inline]

destructor

Definition at line 147 of file aiosock.h.

References _incoming_list, and base_list< T >::empty().


Member Data Documentation

socket handle

Definition at line 154 of file aiosock.h.

Referenced by aiosock::_assign_socket().

pointer to the object for callback notofication

Definition at line 155 of file aiosock.h.

keeps incoming asynchronous requests

Definition at line 156 of file aiosock.h.

Referenced by ~aiosock_socket().

counter of the callbacks invoking

Definition at line 157 of file aiosock.h.

type of socket TCP/UDP

Definition at line 158 of file aiosock.h.


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


© Copyright Terimber 2003-.