XTL  0.1
eXtended Template Library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
xtd::socket::polling_socket< _SuperT > Class Template Reference

Polling behavior policy. More...

+ Inheritance diagram for xtd::socket::polling_socket< _SuperT >:
+ Collaboration diagram for xtd::socket::polling_socket< _SuperT >:

Public Member Functions

template<typename... _ArgTs>
 polling_socket (_ArgTs &&...oArgs)
 ctor
 
void poll (int Timeout)
 begins polling the socket for events for a period of Timeout
 

Data Fields

callback< void()> disconnect_event
 callback event fires when socket becomes disconnected
 
callback< void()> error_event
 callback event fires when an error occurs
 
callback< void()> read_event
 callback event fires when data is ready to read data
 
callback< void()> write_event
 callback event fires when socket is ready to write data
 

Detailed Description

template<typename _SuperT>
class xtd::socket::polling_socket< _SuperT >

Polling behavior policy.

Definition at line 326 of file socket.hpp.


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