def create_reg_message(self):
msg = {'<STR_LIT>': PARSL_VERSION,<EOL>'<STR_LIT>': "<STR_LIT>".format(sys.version_info.major,<EOL>sys.version_info.minor,<EOL>sys.version_info.micro),<EOL>'<STR_LIT>': self.worker_count,<EOL>'<STR_LIT>': self.block_id,<EOL>'<STR_LIT>': self.prefetch_capacity,<EOL>'<STR_LIT>': self.worker_count + self.prefetch_capacity,<EOL>'<STR_LIT>': platform.system(),<EOL>'<STR_LIT>': platform.node(),<EOL>'<STR_LIT>': os.getcwd(),<EOL>}<EOL>b_msg = json.dumps(msg).encode('<STR_LIT:utf-8>')<EOL>return b_msg<EOL>
Creates a registration message to identify the worker to the interchange