Class ParseUserNameData

Class Documentation

class ParseUserNameData

Parser to read the type code of a tcp sequence.

Public Functions

ParseUserNameData()

Constructor of the parser.

bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::UserName &user_name) const

Parses a tcp sequence to read the type code of the sensor.

Parameters:
  • buffer – The incoming tcp sequence.

  • user_name – Reference to the user name, which will be written while parsing.

Returns:

If parsing was successful.