public class UIClientCommWebSocket extends Object
| Constructor and Description |
|---|
UIClientCommWebSocket() |
| Modifier and Type | Method and Description |
|---|---|
String |
uiClientBinaryData(InputStream binaryDataStream,
javax.websocket.Session session)
When a binary message is received from a UI client, this method will execute the command the client
is asking for.
|
String |
uiClientMessage(String nameAndJsonStr,
javax.websocket.Session session)
When a message is received from a UI client, this method will execute the command the client is asking for.
|
void |
uiClientSessionClose(javax.websocket.Session session,
javax.websocket.CloseReason reason) |
void |
uiClientSessionOpen(javax.websocket.Session session) |
public void uiClientSessionOpen(javax.websocket.Session session)
public String uiClientMessage(String nameAndJsonStr, javax.websocket.Session session)
nameAndJsonStr - the name of the API request followed by "=" followed then by the request's JSON datasession - the client session making the requestpublic String uiClientBinaryData(InputStream binaryDataStream, javax.websocket.Session session)
binaryDataStream - contains the JSON request and additional binary datasession - the client session making the requestpublic void uiClientSessionClose(javax.websocket.Session session,
javax.websocket.CloseReason reason)
Copyright © 2015 Red Hat, Inc.. All rights reserved.