protected class WebSocketTransport.WebSocketDelegate extends AbstractWebSocketTransport.Delegate implements javax.websocket.MessageHandler.Whole<String>
Modifier | Constructor and Description |
---|---|
protected |
WebSocketDelegate() |
Modifier and Type | Method and Description |
---|---|
protected void |
close() |
protected boolean |
isOpen() |
void |
onMessage(String data) |
void |
send(String content) |
protected void |
shutdown(String reason) |
fail, failMessages, onClose, onData, onMessages, registerMessages, trimCloseReason
public void onMessage(String data)
onMessage
in interface javax.websocket.MessageHandler.Whole<String>
public void send(String content)
send
in class AbstractWebSocketTransport.Delegate
protected void shutdown(String reason)
shutdown
in class AbstractWebSocketTransport.Delegate
protected boolean isOpen()
isOpen
in class AbstractWebSocketTransport.Delegate
protected void close()
close
in class AbstractWebSocketTransport.Delegate
Copyright © 2008–2024 The CometD Project. All rights reserved.