private void processAuctionEvent(AuctionEvent event) {

		if (event.getType().equals(AuctionEvent.AUCTION_STARTED)) {
			auctionList.add(event);
		}
		if (event.getType().equals(AuctionEvent.AUCTION_ENDED)) {

			// AVG- Duration
			if (avgAuctionDurationTimeEvent == null) {
				Timestamp currentTimestamp = new Timestamp(
						System.currentTimeMillis());
				long timestamp = currentTimestamp.getTime();
				try {
					avgAuctionDurationTimeEvent = new StatisticsEvent(
							StatisticsEvent.AUCTION_TIME_AVG, timestamp, 0);
				} catch (WrongEventTypeException e) {
					logger.error("Error: Wrong Eventtype accured");
				}
			}
			double avgDuration = (avgAuctionDurationTimeEvent.getValue()
					* aucitonDuration_multiplicator + event.getDuration())
					/ (++aucitonDuration_multiplicator);
			avgAuctionDurationTimeEvent.setValue(avgDuration);

			notifyManagementClients(avgAuctionDurationTimeEvent);

			// Auction- Sucess- Ratio
			auctionCounter++;
			if (!event.getWinner().equals("none")) {
				auctionsSuceded++;
			}
			if (auctionSucessRatioEvent == null) {
				Timestamp currentTimestamp = new Timestamp(
						System.currentTimeMillis());
				long timestamp = currentTimestamp.getTime();
				try {
					auctionSucessRatioEvent = new StatisticsEvent(
							StatisticsEvent.AUCTION_SUCCESS_RATIO, timestamp, 0);
				} catch (WrongEventTypeException e) {
					logger.error("Error: Wrong Eventtype accured");
				}
			}
			// in percent
			auctionSucessRatioEvent.setValue(100 / auctionCounter
					* auctionsSuceded);

			notifyManagementClients(auctionSucessRatioEvent);
		}

	}