public class InspectWSClient extends org.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(org.java_websocket.handshake.ServerHandshake sh) |
close, close, close, closeBlocking, closeConnection, connect, connectBlocking, connectBlocking, getAttachment, getConnection, getConnections, getDraft, getLocalSocketAddress, getLocalSocketAddress, getReadyState, getRemoteSocketAddress, getRemoteSocketAddress, getResourceDescriptor, getSocket, getURI, hasBufferedData, isClosed, isClosing, isFlushAndClose, isOpen, onCloseInitiated, onClosing, onMessage, onWebsocketClose, onWebsocketCloseInitiated, onWebsocketClosing, onWebsocketError, onWebsocketMessage, onWebsocketMessage, onWebsocketMessageFragment, onWebsocketOpen, onWriteDemand, reconnect, reconnectBlocking, run, send, send, send, sendFragmentedFrame, sendFrame, sendFrame, sendPing, setAttachment, setProxy, setSocketgetConnectionLostTimeout, isReuseAddr, isTcpNoDelay, setConnectionLostTimeout, setReuseAddr, setTcpNoDelay, startConnectionLostTimer, stopConnectionLostTimerpublic 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(org.java_websocket.handshake.ServerHandshake sh)
onOpen in class org.java_websocket.client.WebSocketClientpublic void onMessage(String message)
onMessage in class org.java_websocket.client.WebSocketClientpublic void onClose(int code,
String reason,
boolean remote)
onClose in class org.java_websocket.client.WebSocketClientpublic void onError(Exception excptn)
onError in class org.java_websocket.client.WebSocketClientpublic void consoleAPICall(Token token, String type, Object text)
consoleAPICall in interface InspectorWSConnectionpublic void close(Token token)
close in interface InspectorWSConnection