public void protokol(ServerClient activeclient) throws IOException
	{

		boolean shutdown = false;
		/** Determinates if the Client wants to disconnect */
		while (!shutdown)
		{
			Msg nextCMD = activeclient.getSt().readMsg(activeclient.getClientsocket(), activeclient.getIn());
			if (nextCMD.getId() == 'b')		//// Broadcast message to everybody on the server
			{
				broadcast(activeclient, nextCMD);
			}
			if (nextCMD.getId() == 's')		//// Message to a specific person on the server
			{
				secredMessage(activeclient, nextCMD);
			}
			if (nextCMD.getId() == 'r')		//// Message to all people in a room
			{
				roomBroadcast(activeclient, nextCMD);
			}
			if (nextCMD.getId() == '+')		//// get me in room / switch room
			{
				enterRoom(activeclient, nextCMD);
			}
			if (nextCMD.getId() == '-')		//// leave room
			{
				leaveRoom(activeclient);
			}
			if (nextCMD.getId() == 'C')		//// Who is online
			{
				whoisonline(activeclient);
			}
			if (nextCMD.getId() == 'R')		//// Who is online
			{
				sendExistingRooms(activeclient);
			}
			if (nextCMD.getId() == ';')		//// Closes a Connection
			{
				shutdown = true;
				disconnect(activeclient);
			}
		}
	}