Class ParseDeviceName

Class Documentation

class ParseDeviceName

Parser to read the device name from a tcp sequence.

Public Functions

ParseDeviceName()

Constructor of the parser.

bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::DeviceName &device_name) const

Parses a tcp sequence to read the device name of the sensor.

Parameters:
  • buffer – The incoming data sequence.

  • device_name – Reference to the parsed device name.

Returns:

If parsing the device name was successful.