Class OkHttpWebsocketTransport.OkHttpDelegate
- java.lang.Object
-
- org.cometd.websocket.client.common.AbstractWebSocketTransport.Delegate
-
- org.cometd.websocket.client.okhttp.OkHttpWebsocketTransport.OkHttpDelegate
-
- Enclosing class:
- OkHttpWebsocketTransport
protected class OkHttpWebsocketTransport.OkHttpDelegate extends AbstractWebSocketTransport.Delegate
-
-
Constructor Summary
Constructors Constructor Description OkHttpDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
close()
protected boolean
isOpen()
protected void
send(String payload)
protected void
shutdown(String reason)
-
Methods inherited from class org.cometd.websocket.client.common.AbstractWebSocketTransport.Delegate
fail, failMessages, onClose, onData, onMessages, registerMessages, trimCloseReason
-
-
-
-
Method Detail
-
send
protected void send(String payload)
- Specified by:
send
in classAbstractWebSocketTransport.Delegate
-
isOpen
protected boolean isOpen()
- Overrides:
isOpen
in classAbstractWebSocketTransport.Delegate
-
close
protected void close()
- Specified by:
close
in classAbstractWebSocketTransport.Delegate
-
shutdown
protected void shutdown(String reason)
- Specified by:
shutdown
in classAbstractWebSocketTransport.Delegate
-
-