Class ConnectionWatcher
java.lang.Object
com.oracle.truffle.tools.chromeinspector.server.ConnectionWatcher
Allows to wait for the close of the inspector protocol connection.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidCall when it's necessary to keep the connection open until the client closes it.booleanvoid
-
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()
-