public synchronized void remove(long eventId, int clientId) {
		int i=0;
		for(Event event:events){
			if(event.getEventId()==eventId && event.getClientId()==clientId){
				events.remove(i++);
			}
		}

	}