Class IPyKernelConfiguration

java.lang.Object
com.illumon.ipykernel.IPyKernelConfiguration

public class IPyKernelConfiguration
extends Object
  • Method Details

    • isConfigured

      public static boolean isConfigured()
    • createDefault

      public static IPyKernelConfiguration createDefault​(Database database, EventManagerCallbacks callbacks, String workerWebsocketUrl)
    • getProxyInfo

      public Map<String,​Integer> getProxyInfo()
      Return a map of string names to the local port that we are listening on.
      Returns:
      map from string identifiers to our local port
    • assignFreePorts

      public void assignFreePorts()
      Determine free ports to use for control, hb, shell, stdin, and iopub. Update our connectionData JSON string to reflect those new ports. The connectionData should be used if present, overriding the original connection file that we parsed.