#include <hsms_socket.h>
Inheritance diagram for freesecs::hsms_socket_async_t:


Public Types | |
| enum | state_t { inactive, wtg_for_header, wtg_for_data } |
| Asyncronous reception states definition. | |
Public Member Functions | |
| hsms_socket_async_t (const char *name, const int port) | |
| Passive cnx socket ctor. | |
| hsms_socket_async_t (const char *name, const char *host, const int port) | |
| Active cnx socket ctor. | |
| virtual | ~hsms_socket_async_t () |
Public Attributes | |
| signal_one_arg_t< pdata_t > | msg_signal |
| Signal for hsms message received. | |
| signal_no_args_t | data_partially_recvd |
| Signal for receiving activity on tcp link. | |
| signal_no_args_t | recv_error |
| Signal for recieving error on tcp link. | |
Protected Member Functions | |
| virtual int | disconnect_tcp () |
| disconnect method overload stops async message reception and then calls the method of parent class. | |
| virtual int | recv_tcp (pdata_t) |
| Start asynchronous message reception. When the whole hsms message comes, msg_signal is triggered. | |
| state_t | get_state () const |
Friends | |
| class | hsms_passive_cnx_t |
Definition at line 199 of file hsms_socket.h.
| virtual int freesecs::hsms_socket_async_t::recv_tcp | ( | pdata_t | ) | [protected, virtual] |
Start asynchronous message reception. When the whole hsms message comes, msg_signal is triggered.
1.5.1