def send_output(self):
try:<EOL><INDENT>pyngus.write_socket_output(self.connection,<EOL>self.socket)<EOL><DEDENT>except Exception as e:<EOL><INDENT>LOG.error("<STR_LIT>", str(e))<EOL>self.connection.close_output()<EOL>self.connection.close()<EOL><DEDENT>self.connection.process(time.time())<EOL>
Called when socket is write-ready