* @param message
* The message to broadcast/push
*/
public void broadcast(Application application, String sessionId, IKey key, IWebSocketPushMessage message)
{
WebSocketSettings webSocketSettings = WebSocketSettings.Holder.get(application);
WebSocketPushBroadcaster broadcaster = new WebSocketPushBroadcaster(webSocketSettings.getConnectionRegistry());
ConnectedMessage wsMessage = new ConnectedMessage(application, sessionId, key);
broadcaster.broadcast(wsMessage, message);
}