public class InspectWSClient extends com.oracle.truffle.tools.utils.java_websocket.client.WebSocketClient implements InspectorWSConnection
| Constructor and Description |
|---|
InspectWSClient(InetSocketAddress isa,
String wsspath,
InspectorExecutionContext executionContext,
boolean debugBreak,
boolean secure,
KeyStoreOptions keyStoreOptions,
ConnectionWatcher connectionWatcher,
PrintWriter info) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(Token token) |
void |
consoleAPICall(Token token,
String type,
Object text) |
int |
getPort() |
void |
onClose(int code,
String reason,
boolean remote) |
void |
onError(Exception excptn) |
void |
onMessage(String message) |
void |
onOpen(com.oracle.truffle.tools.utils.java_websocket.handshake.ServerHandshake sh) |
addHeader, clearHeaders, close, close, close, closeBlocking, closeConnection, connect, connectBlocking, connectBlocking, getAttachment, getConnection, getConnections, getDraft, getLocalSocketAddress, getLocalSocketAddress, getProtocol, getReadyState, getRemoteSocketAddress, getRemoteSocketAddress, getResourceDescriptor, getSocket, getSSLSession, getURI, hasBufferedData, hasSSLSupport, isClosed, isClosing, isFlushAndClose, isOpen, onCloseInitiated, onClosing, onMessage, onSetSSLParameters, onWebsocketClose, onWebsocketCloseInitiated, onWebsocketClosing, onWebsocketError, onWebsocketMessage, onWebsocketMessage, onWebsocketOpen, onWriteDemand, reconnect, reconnectBlocking, removeHeader, run, send, send, send, sendFragmentedFrame, sendFrame, sendFrame, sendPing, setAttachment, setDnsResolver, setProxy, setSocketFactorygetConnectionLostTimeout, isReuseAddr, isTcpNoDelay, setConnectionLostTimeout, setReuseAddr, setTcpNoDelay, startConnectionLostTimer, stopConnectionLostTimeronPreparePing, onWebsocketHandshakeReceivedAsClient, onWebsocketHandshakeReceivedAsServer, onWebsocketHandshakeSentAsClient, onWebsocketPing, onWebsocketPongclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosing, disposepublic InspectWSClient(InetSocketAddress isa, String wsspath, InspectorExecutionContext executionContext, boolean debugBreak, boolean secure, KeyStoreOptions keyStoreOptions, ConnectionWatcher connectionWatcher, PrintWriter info) throws IOException
IOExceptionpublic int getPort()
getPort in interface InspectorWSConnectionpublic void onOpen(com.oracle.truffle.tools.utils.java_websocket.handshake.ServerHandshake sh)
onOpen in class com.oracle.truffle.tools.utils.java_websocket.client.WebSocketClientpublic void onMessage(String message)
onMessage in class com.oracle.truffle.tools.utils.java_websocket.client.WebSocketClientpublic void onClose(int code,
String reason,
boolean remote)
onClose in class com.oracle.truffle.tools.utils.java_websocket.client.WebSocketClientpublic void onError(Exception excptn)
onError in class com.oracle.truffle.tools.utils.java_websocket.client.WebSocketClientpublic void consoleAPICall(Token token, String type, Object text)
consoleAPICall in interface InspectorWSConnectionpublic void close(Token token)
close in interface InspectorWSConnection