Class ConnectionWatcher

java.lang.Object
com.oracle.truffle.tools.chromeinspector.server.ConnectionWatcher

public final class ConnectionWatcher extends Object
Allows to wait for the close of the inspector protocol connection.
  • Constructor Details

    • ConnectionWatcher

      public ConnectionWatcher()
  • Method Details

    • shouldWaitForClose

      public boolean shouldWaitForClose()
    • waitForClose

      public void waitForClose()
    • setWaitForClose

      public void setWaitForClose()
      Call when it's necessary to keep the connection open until the client closes it. It will
    • notifyOpen

      public void notifyOpen()
    • notifyClosing

      public void notifyClosing()