All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aoindustries.ipreputation.IpReputationMonitor Maven / Gradle / Ivy

/*
 * aoserv-ipreputation - Daemon that feeds IP reputation into the AOServ Platform.
 * Copyright (C) 2012, 2013, 2020  AO Industries, Inc.
 *     [email protected]
 *     7262 Bull Pen Cir
 *     Mobile, AL 36695
 *
 * This file is part of aoserv-ipreputation.
 *
 * aoserv-ipreputation is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * aoserv-ipreputation is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with aoserv-ipreputation.  If not, see .
 */
package com.aoindustries.ipreputation;

import com.aoindustries.aoserv.client.AOServConnector;
import java.util.Properties;

abstract public class IpReputationMonitor {

	final protected AOServConnector conn;
	final protected int num;

	/**
	 * All implementations must have a public constructor with these same parameters.
	 */
	protected IpReputationMonitor(AOServConnector conn, Properties config, int num) {
		this.conn = conn;
		this.num = num;
	}

	/**
	 * Starts this monitor, must return quickly while monitor runs in non-daemon
	 * background thread.  Monitors are never stopped.
	 */
	// TODO: Make abstract on next version
	public void start() {
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy