private synchronized void close()	{
		try {
			Message m=new Message(roomid, Msg.room, this.title, this.username, "<quit>","");
			objOut.writeObject(m);
			if(socket!=null)
			{
				if(objIn!=null)
				{
					objIn.close();
					objIn=null;
				}
				if(objOut!=null)
				{
					objOut.close();
					objOut=null;
				}
				socket.close();
				socket=null;
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}