private Subscription getSubscription(long subscriptionId, int clientId){
		//TODO this method is not very efficient...
		for(Subscription s : subscriptions){
			if (s.clientId==clientId && s.clientSubscriptionId==subscriptionId){
				return s;
			}
		}
		return null;
	}