Encapsulates data about an etablished data connection. More...
#include <protocol_info.h>
Public Attributes | |
std::string | handle |
Handle ID. | |
int | handle_type |
std::string | hostname |
UDP Handle: IP at client side where scanner data is sent to. | |
char | packet_type |
Packet type, possible values are A,B or C. | |
int | port |
int | start_angle |
Start angle of scan in 1/10000°, defaults to -1800000. | |
bool | watchdog_enabled |
If watchdog is enabled, it has to be fed otherwise scanner closes the connection after timeout. | |
int | watchdog_timeout |
Watchdog timeout in ms. | |
Static Public Attributes | |
static const int | HANDLE_TYPE_TCP = 0 |
static const int | HANDLE_TYPE_UDP = 1 |
Encapsulates data about an etablished data connection.
Definition at line 36 of file protocol_info.h.
std::string pepperl_fuchs::HandleInfo::handle |
Handle ID.
Definition at line 55 of file protocol_info.h.
Handle type: 0: TCP 1: UDP
Definition at line 44 of file protocol_info.h.
const int pepperl_fuchs::HandleInfo::HANDLE_TYPE_TCP = 0 [static] |
Definition at line 38 of file protocol_info.h.
const int pepperl_fuchs::HandleInfo::HANDLE_TYPE_UDP = 1 [static] |
Definition at line 39 of file protocol_info.h.
std::string pepperl_fuchs::HandleInfo::hostname |
UDP Handle: IP at client side where scanner data is sent to.
Definition at line 47 of file protocol_info.h.
Packet type, possible values are A,B or C.
Definition at line 58 of file protocol_info.h.
Meaning depends on handle type (TCP or UDP) TCP port at scanner side where data can be retreived -or- UDP port at client side where scanner data is sent to
Definition at line 52 of file protocol_info.h.
Start angle of scan in 1/10000°, defaults to -1800000.
Definition at line 61 of file protocol_info.h.
If watchdog is enabled, it has to be fed otherwise scanner closes the connection after timeout.
Definition at line 64 of file protocol_info.h.
Watchdog timeout in ms.
Definition at line 67 of file protocol_info.h.