Class OkHttpWebSocketTransport.OkHttpDelegate
- java.lang.Object
-
- org.cometd.client.websocket.common.AbstractWebSocketTransport.Delegate
-
- org.cometd.client.websocket.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(java.lang.String payload)
protected void
shutdown(java.lang.String reason)
-
Methods inherited from class org.cometd.client.websocket.common.AbstractWebSocketTransport.Delegate
fail, failMessages, onClose, onData, onMessages, registerMessages, trimCloseReason
-
-
-
-
Method Detail
-
send
protected void send(java.lang.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(java.lang.String reason)
- Specified by:
shutdown
in classAbstractWebSocketTransport.Delegate
-
-