public void register(String room) throws FullRoomException {
                initNickName();
                Packet pak = new PacketImpl(Packet.REGISTER);
                String[] param = {room};
                pak.setParameters(param);
                connection.send(pak);
                connection.registered = true;
                
        }