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

net.sf.exlp.event.AbstractEventHandler Maven / Gradle / Ivy

There is a newer version: 0.1.17
Show newest version
package net.sf.exlp.event;

import java.io.Serializable;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public abstract class AbstractEventHandler implements Serializable,LogEventHandler  
{
	final static Logger logger = LoggerFactory.getLogger(AbstractEventHandler.class);
	
	static final long serialVersionUID=1;
	
	protected long eventCounter;
	
	public AbstractEventHandler()
	{
		eventCounter=0;
	}
	
	public void close(){logger.error("close Nicht implementiert");}
	
	protected void count(){eventCounter++;}
	public long getEventCounter() {return eventCounter;}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy