* ONAP Portal
* ===================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ *
+ * Modifications Copyright (C) 2019 IBM.
* ===================================================================
*
* Unless otherwise specified, all software contained herein is licensed
EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(PeerBroadcastSocket.class);
- public static Map<String, Object> channelMap = new Hashtable<String, Object>();
+ public final static Map<String, Object> channelMap = new Hashtable<String, Object>();
public Map<String, String> sessionMap = new Hashtable<String, String>();
ObjectMapper mapper = new ObjectMapper();
if (to == null)
return;
Object toSessionObj = channelMap.get(to);
- if (toSessionObj != null) {
+ /*if (toSessionObj != null) {
Session toSession = null;
toSession = (Session) toSessionObj;
toSession.getBasicRemote().sendText(message);
}
-
+*/
} catch (Exception ex) {
logger.error(EELFLoggerDelegate.errorLogger, "Failed to send text" + ex.getMessage());
}