class_docstr: The ZMQ socket object
  
  To create a Socket, first create a Context::
  
      ctx = zmq.Context.instance()
  
  then call ``ctx.socket(socket_type)``::
  
      s = ctx.socket(zmq.ROUTER)
class_docstr_tok: ["The","ZMQ","socket","object","To","create","a","Socket",",","first","create","a","Context",":",":","ctx","=","zmq.Context.instance","(",")","then","call","``","ctx.socket","(","socket_type",")","``",":",":","s","=","ctx.socket","(","zmq.ROUTER",")"]
docstr: Deserialize a received message
  
  Override in subclass (e.g. Futures) if recvd is not the raw bytes.
  
  The default implementation expects bytes and returns the deserialized message immediately.
  
  Parameters
  ----------
  
  load: callable
      Callable that deserializes bytes
  recvd:
      The object returned by self.recv
docstr_tok: ["Deserialize","a","received","message","Override","in","subclass","(","e.g",".","Futures",")","if","recvd","is","not","the","raw","bytes",".","The","default","implementation","expects","bytes","and","returns","the","deserialized","message","immediately",".","Parameters","--","--","--","--","--","load",":","callable","Callable","that","deserializes","bytes","recvd",":","The","object","returned","by","self.recv"]
code: def _deserialize(self, recvd, load):
      """Deserialize a received message
  
      Override in subclass (e.g. Futures) if recvd is not the raw bytes.
  
      The default implementation expects bytes and returns the deserialized message immediately.
  
      Parameters
      ----------
  
      load: callable
          Callable that deserializes bytes
      recvd:
          The object returned by self.recv
  
      """
      return load(recvd)
  
imports: import errno
  import random
  import sys
  import warnings
  import zmq
  from zmq.backend import Socket
  from .poll import Poller
  from .None import constants
  from .attrsettr import AttributeSetter
  from zmq.error import ZMQError, ZMQBindError
  from zmq.utils import jsonapi
  from zmq.utils.strtypes import bytes, unicode, basestring
  from .constants import SNDMORE, ENOTSUP, POLLIN, int64_sockopt_names, int_sockopt_names, bytes_sockopt_names, fd_sockopt_names
label_desc: Use image node_id 22 for calling the Socket obj's underlying member method code with example usage: obj._deserialize(recvd, load) and returns: load