Exemple #1
0
 def __init__(self, aBuffer=None):
     self.__HEADER_BASE_SIZE = 12
     self.__TAIL_SIZE = 0
     ProtocolPacket.__init__(self, self.__HEADER_BASE_SIZE,
                             self.__TAIL_SIZE)
     if aBuffer:
         self.load_packet(aBuffer)
Exemple #2
0
    def __init__(self, buff=None):
        header_size = 0
        tail_size = 0

        ProtocolPacket.__init__(self, header_size, tail_size)
        if buff:
            self.load_packet(buff)
Exemple #3
0
 def __init__(self, buff=None):
     header_size = 0
     tail_size = 0
         
     ProtocolPacket.__init__(self, header_size, tail_size)
     if buff:
         self.load_packet(buff)
Exemple #4
0
 def __init__(self, aBuffer = None):
     self.__HEADER_BASE_SIZE = 12
     self.__TAIL_SIZE        = 0
     ProtocolPacket.__init__(self, self.__HEADER_BASE_SIZE, self.__TAIL_SIZE)
     if aBuffer:
         self.load_packet(aBuffer)