code: public void emit(String message) {
          openSessions.forEach((session) -> {
              try {
                  if (session.isOpen()) {
                      session.getBasicRemote().sendText(message);
                  }
              }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.javametrics.MetricsEmitter#emit(java.lang.String)