public class Client extends Object
| Constructor and Description |
|---|
Client(javax.websocket.Session session) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Asynchronously closes the Websocket session.
|
void |
sendMessage(AbstractWebsocketMessage msg)
Sends the given message asynchronously to the client.
|
public void close()
public void sendMessage(AbstractWebsocketMessage msg)
msg - Copyright © 2015 WSO2 Inc. All rights reserved.