def _assemble(self): header_size = GINIC.getGPacketMetaheaderLen() self.__packed = '' if self.meta_msg == None: return GINIC.createGPacketWithIPPayload(self.ip_payload) else: return GINIC.assembleWithIPPayload(self.meta_msg, self.ip_payload);
def getGPacketMetaheaderLen(): return _GINIC.getGPacketMetaheaderLen()