@OnOpen public void onConnect(final Session session){
  SESSIONS.add(session);
}

@ OnOpen public void onConnect ( final Session session ) { SESSIONS . add ( session ) ; }
called when the socket connection with the browser is established .
