socket_connection_status.hpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Ifdefs
10 *****************************************************************************/
11 
12 #ifndef ECL_DEVICES_CONNECTION_STATUS_HPP_
13 #define ECL_DEVICES_CONNECTION_STATUS_HPP_
14 
15 /*****************************************************************************
16 ** Includes
17 *****************************************************************************/
18 
19 /*****************************************************************************
20 ** Namespaces
21 *****************************************************************************/
22 
23 namespace ecl {
24 
25 /*****************************************************************************
26 ** Enums
27 *****************************************************************************/
28 
32 enum ConnectionStatus {
33  ConnectionProblem = -1,
35  ConnectionHungUp = -3
36 };
37 
38 } // namespace ecl
39 
40 #endif /* ECL_DEVICES_CONNECTION_STATUS_HPP_ */
ecl::ConnectionHungUp
@ ConnectionHungUp
Used to signify when a server/client detects that the other end has 'hung up'.
Definition: socket_connection_status.hpp:49
ecl::ConnectionStatus
ConnectionStatus
Used to denote the status of a connection.
Definition: socket_connection_status.hpp:38
ecl::ConnectionProblem
@ ConnectionProblem
Was some error in the last operation..
Definition: socket_connection_status.hpp:47
ecl
Embedded control libraries.
ecl::ConnectionDisconnected
@ ConnectionDisconnected
Used to state when a server/client detects that there is no other connection at the other end.
Definition: socket_connection_status.hpp:48


ecl_devices
Author(s): Daniel Stonier
autogenerated on Wed Mar 2 2022 00:16:45