@staticmethod<EOL><INDENT>def create_packet(reqid, message):<DEDENT>
assert message.IsInitialized()<EOL>packet = '<STR_LIT>'<EOL>typename = message.DESCRIPTOR.full_name<EOL>datasize = HeronProtocol.get_size_to_pack_string(typename) +REQID.REQID_SIZE + HeronProtocol.get_size_to_pack_message(message)<EOL>packet += HeronProtocol.pack_int(datasize)<EOL>packet += HeronProtocol.pack_int(len(typename))<EOL>packet += typename<EOL>packet += reqid.pack()<EOL>packet += HeronProtocol.pack_int(message.ByteSize())<EOL>packet += message.SerializeToString()<EOL>return OutgoingPacket(packet)<EOL>
Creates Outgoing Packet from a given reqid and message

        :param reqid: REQID object
        :param message: protocol buffer object