public class UIClientCommWebSocket extends Object
| Constructor and Description |
|---|
UIClientCommWebSocket() |
| Modifier and Type | Method and Description |
|---|---|
void |
lookupConnectionFactory() |
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) |
@PostConstruct public void lookupConnectionFactory() throws Exception
Exceptionpublic 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 void uiClientSessionClose(javax.websocket.Session session,
javax.websocket.CloseReason reason)
Copyright © 2015 Red Hat, Inc.. All rights reserved.