Class PacketModifications

A set of modifications between packets

Metamethods

PacketModifications:__tostring () Same than print

Methods

PacketModifications:new (original, receivd) Build a new PacketModifications
PacketModifications:print () Return the textual representation of the object.
PacketModifications:original () Get the original packet as reference when computing these modifications
PacketModifications:received () Get the reveived packet differing from the original packet
PacketModifications:partial () Check if the modifications have been computed based on a partial header or not


Metamethods

PacketModifications:__tostring ()
Same than print

See also:

Methods

PacketModifications:new (original, receivd)
Build a new PacketModifications

Parameters:

  • original Packet the reference packet to compare to
  • receivd Packet the new packet that has been modified

Returns:

    PacketModifications mod the set of modifications
PacketModifications:print ()
Return the textual representation of the object.

Returns:

    string

See also:

PacketModifications:original ()
Get the original packet as reference when computing these modifications

Returns:

    Packet original
PacketModifications:received ()
Get the reveived packet differing from the original packet

Returns:

    Packet received
PacketModifications:partial ()
Check if the modifications have been computed based on a partial header or not

Returns:

    num partial 0 if not from a partial header
generated by LDoc 1.4.6 Last updated 2017-10-04 11:48:45