class_docstr: TCP socket handler backed tornado event loop.
  
  Parameters
  ----------
  sock : Socket
      The TCP socket, will set it to non-blocking mode.
class_docstr_tok: ["TCP","socket","handler","backed","tornado","event","loop",".","Parameters","--","--","--","--","--","sock",":","Socket","The","TCP","socket",",","will","set","it","to","non-blocking","mode","."]
docstr: centeral event handler
docstr_tok: ["centeral","event","handler"]
code: def _event_handler(self, events):
      """centeral event handler"""
      if (events & self._ioloop.ERROR) or (events & self._ioloop.READ):
          if self._update_read() and (events & self._ioloop.WRITE):
              self._update_write()
      elif events & self._ioloop.WRITE:
          self._update_write()
  
file_path: tvm/python/tvm/rpc/tornado_util.py
imports: import socket
  import errno
  from tornado import ioloop
label_desc: Use image node_id 5 for calling the TCPHandler obj's underlying member method code with example usage: obj._event_handler(events) without return types