Class ParseFieldHeaderData

Class Documentation

class ParseFieldHeaderData

Parser to read the field header for protective and warning fields.

Public Functions

ParseFieldHeaderData()

Constructor of the parser.

bool parseTCPSequence(const datastructure::PacketBuffer &buffer, datastructure::FieldData &field_data) const

Parses a tcp sequence to read the header for a warning or protective field.

Parameters:
  • buffer – The incoming tcp sequence.

  • field_data – Reference to the field data where the information will be set.

Returns:

If parsing was successful.