public abstract class JettyWebSocketAdapter extends Object implements WebSocketAdapter
Constructor and Description |
---|
JettyWebSocketAdapter(WebClient webClient) |
Modifier and Type | Method and Description |
---|---|
void |
closeClient() |
void |
closeIncommingSession() |
void |
closeOutgoingSession() |
void |
connect(URI url) |
void |
send(Object content) |
void |
start() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onWebSocketBinary, onWebSocketClose, onWebSocketConnect, onWebSocketConnectError, onWebSocketConnecting, onWebSocketError, onWebSocketText
public JettyWebSocketAdapter(WebClient webClient)
public void start() throws Exception
start
in interface WebSocketAdapter
Exception
public void connect(URI url) throws Exception
connect
in interface WebSocketAdapter
Exception
public void send(Object content) throws IOException
send
in interface WebSocketAdapter
IOException
public void closeIncommingSession()
closeIncommingSession
in interface WebSocketAdapter
public void closeOutgoingSession()
closeOutgoingSession
in interface WebSocketAdapter
public void closeClient() throws Exception
closeClient
in interface WebSocketAdapter
Exception
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.