hpimdm/packet/PacketHPIMAck.py
def bytes(self) -> bytes:
        """
        Obtain Packet Ack in a format to be transmitted (JSON)
        """
        msg = {"SOURCE": self.source,
               "GROUP": self.group,
               "NEIGHBOR_BOOT_TIME": self.neighbor_boot_time,
               "NEIGHBOR_SNAPSHOT_SN": self.neighbor_snapshot_sn,
               "MY_SNAPSHOT_SN": self.my_snapshot_sn,
               "SN": self.sequence_number
              }

        return msg

        Obtain Packet Ack in a format to be transmitted (JSON)
        
Obtain Packet Ack in a format to be transmitted (JSON)
Obtain Packet Ack in a format to be transmitted ( JSON )
def bytes(self) -> bytes:
        msg = {"SOURCE": self.source,
               "GROUP": self.group,
               "NEIGHBOR_BOOT_TIME": self.neighbor_boot_time,
               "NEIGHBOR_SNAPSHOT_SN": self.neighbor_snapshot_sn,
               "MY_SNAPSHOT_SN": self.my_snapshot_sn,
               "SN": self.sequence_number
              }
        return msg
def bytes ( self ) -> bytes : msg = { "SOURCE" : self . source , "GROUP" : self . group , "NEIGHBOR_BOOT_TIME" : self . neighbor_boot_time , "NEIGHBOR_SNAPSHOT_SN" : self . neighbor_snapshot_sn , "MY_SNAPSHOT_SN" : self . my_snapshot_sn , "SN" : self . sequence_number } return msg
Obtain Packet Ack in a format to be transmitted (JSON)
Obtain Packet Ack in a format to be transmitted ( JSON )
"""
        Obtain Packet Ack in a format to be transmitted (JSON)
        """
self