Esempio n. 1
0
 def sendPacket(self, data):
     if packet_type(data) != ATTEMPT_JOIN:
         MeshNode.sendPacket(self, data)
 def sendPacket(self, data):
     if (not self.send_data and packet_type(data) == DATA):
         return
     if packet_type(data) == BYE:
         self.send_data = True
     MeshNode.sendPacket(self, data)
Esempio n. 3
0
 def sendPacket (self, data):
   if packet_type(data) != WHOIS_REPLY:
     MeshNode.sendPacket(self, data)
 def sendPacket (self, data):
   if packet_type(data) != ATTEMPT_JOIN:
     MeshNode.sendPacket(self, data)
 def sendPacket (self, data):
   if (not self.send_data and packet_type(data) == DATA):
     return
   if packet_type(data) == BYE:
     self.send_data = True
   MeshNode.sendPacket (self, data)