function createHandlers(session) {
  _session = session;
  _queue = queue.create(session);

  var handlers = {};
  handlers[messages.names.kernelInfoRequest] = kernelInfoHandler;
  handlers[messages.names.shutdownRequest] = shutdownHandler;
  handlers[messages.names.executeRequest] = executeHandler;
  handlers[messages.names.completeRequest] = completeHandler;

  return handlers;
}
function createHandlers(session) {
  _session = session;
  _queue = queue.create(session);

  var handlers = {};
  handlers[messages.names.kernelInfoRequest] = kernelInfoHandler;
  handlers[messages.names.shutdownRequest] = shutdownHandler;
  handlers[messages.names.executeRequest] = executeHandler;
  handlers[messages.names.completeRequest] = completeHandler;

  return handlers;
}
function createHandlers ( session ) { _session = session ; _queue = queue . create ( session ) ; var handlers = { } ; handlers [ messages . names . kernelInfoRequest ] = kernelInfoHandler ; handlers [ messages . names . shutdownRequest ] = shutdownHandler ; handlers [ messages . names . executeRequest ] = executeHandler ; handlers [ messages . names . completeRequest ] = completeHandler ; return handlers ; }
Creates the message handlers associated with the kernel session.
Creates the message handlers associated with the kernel session .