class_docstr: A ZMQ socket invoking a callback in the ioloop
docstr: Callback for stream.on_recv.
  
  Unpacks message, and calls handlers with it.
code: def _handle_recv(self, msg):
      """Callback for stream.on_recv.
  
      Unpacks message, and calls handlers with it.
      """
      ident, smsg = self.session.feed_identities(msg)
      msg = self.session.deserialize(smsg)
      # let client inspect messages
      if self._inspect:
          self._inspect(msg)
      self.call_handlers(msg)
  
imports: from __future__ import absolute_import
  import atexit
  import errno
  import sys
  from threading import Thread, Event
  import time
  from zmq import ZMQError
  from zmq.eventloop import ioloop, zmqstream
  from traitlets import Type, Instance
  from jupyter_client.channels import HBChannel
  from jupyter_client import KernelClient
label_desc: Use image node_id 7 for calling the ThreadedZMQSocketChannel obj's underlying member method code with example usage: obj._handle_recv(msg) without return types