public synchronized void addRoom(String room){
  if (!Helper.validateStream(room)) {
    return;
  }
  connect();
  room=room.toLowerCase();
  if (rooms.add(room)) {
    subRoom(room);
  }
}

public synchronized void addRoom ( String room ) { if ( ! Helper . validateStream ( room ) ) { return ; } connect ( ) ; room = room . toLowerCase ( ) ; if ( rooms . add ( room ) ) { subRoom ( room ) ; } }
subscribe to a room .
