protected abstract class AbstractWebSocketTransport.Delegate extends Object
Modifier | Constructor and Description |
---|---|
protected |
Delegate() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
close() |
protected void |
fail(Throwable failure,
String reason) |
protected void |
failMessages(Throwable cause) |
protected boolean |
isOpen() |
protected void |
onClose(int code,
String reason) |
protected void |
onData(String data) |
protected void |
onMessages(List<Message.Mutable> messages) |
protected void |
registerMessages(TransportListener listener,
List<Message.Mutable> messages) |
protected abstract void |
send(String content) |
protected abstract void |
shutdown(String reason) |
protected String |
trimCloseReason(String reason) |
protected void onClose(int code, String reason)
protected void onData(String data)
protected void onMessages(List<Message.Mutable> messages)
protected void registerMessages(TransportListener listener, List<Message.Mutable> messages)
protected abstract void send(String content)
protected void failMessages(Throwable cause)
protected boolean isOpen()
protected abstract void close()
protected abstract void shutdown(String reason)
Copyright © 2008–2024 The CometD Project. All rights reserved.