|
Network System 0.1.1
High-performance modular networking library for scalable client-server applications
|
RAII guard for socket read loop. More...
#include <socket_concepts.h>

Public Member Functions | |
| socket_read_guard (S &socket) | |
| ~socket_read_guard () | |
| socket_read_guard (const socket_read_guard &)=delete | |
| socket_read_guard & | operator= (const socket_read_guard &)=delete |
Private Attributes | |
| S & | socket_ |
RAII guard for socket read loop.
Ensures stop_read() is called when the guard goes out of scope.
Example usage:
Definition at line 357 of file socket_concepts.h.
|
inlineexplicit |
Definition at line 360 of file socket_concepts.h.
|
inline |
Definition at line 361 of file socket_concepts.h.
References kcenon::network::concepts::socket_read_guard< S >::socket_.
|
delete |
|
delete |
|
private |
Definition at line 367 of file socket_concepts.h.
Referenced by kcenon::network::concepts::socket_read_guard< S >::~socket_read_guard().