Class AbstractWebSocketTransport.Delegate
java.lang.Object
org.cometd.client.websocket.common.AbstractWebSocketTransport.Delegate
- Direct Known Subclasses:
JettyWebSocketTransport.JettyWebSocketDelegate
,OkHttpWebSocketTransport.OkHttpDelegate
,WebSocketTransport.WebSocketDelegate
- Enclosing class:
AbstractWebSocketTransport
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
close()
protected void
protected void
failMessages
(Throwable cause) protected boolean
isOpen()
protected void
protected void
protected void
onMessages
(List<Message.Mutable> messages) protected void
registerMessages
(TransportListener listener, List<Message.Mutable> messages) protected abstract void
protected abstract void
protected String
trimCloseReason
(String reason)
-
Constructor Details
-
Delegate
protected Delegate()
-
-
Method Details
-
onClose
-
onData
-
onMessages
-
registerMessages
-
trimCloseReason
-
send
-
fail
-
failMessages
-
isOpen
protected boolean isOpen() -
close
protected abstract void close() -
shutdown
-