Interface PacketDeserialiser


  • public interface PacketDeserialiser
    • Method Detail

      • deserialiseDataUpdatePacket

        Message deserialiseDataUpdatePacket​(byte[] bytes)
                                     throws PacketDeserialisationException
        Deserialise a Data Update packet. Note: If the bytes are retrieved from a packet log, they should not include the packet header.
        Parameters:
        bytes - the bytes for the packet
        Returns:
        the Message these bytes represent
        Throws:
        PacketDeserialisationException - packet deserialisation failed
      • newInstance

        static PacketDeserialiser newInstance()
        Create an instance of the Packet Deserialiser
        Returns:
        an instance of the packet deserialiser
      • newInstance

        static PacketDeserialiser newInstance​(java.lang.String fieldsFile)
        Create an instance of the Packet Deserialiser using the supplied fields file
        Returns:
        an instance of the packet deserialiser