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)
def __init__(self, buff=None): header_size = 0 tail_size = 0 ProtocolPacket.__init__(self, header_size, tail_size) if buff: self.load_packet(buff)
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)