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