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

org.cohesive.envoy.event.MonitorEventEmitter Maven / Gradle / Ivy

There is a newer version: 0.0.5
Show newest version
package org.cohesive.envoy.event;

/**
 * Interface to be implemented for monitor event
 * emitter to the eventing system regardless of
 * eventing system implementation details.
 * 
 * @author dharrington
 */
public interface MonitorEventEmitter {
	
	/**
	 * Creates an event object.
	 * @return The event object
	 */
	public MonitorEvent createEvent();
	
	/**
	 * Triggers the event report.
	 * @param event The event
	 * @return Success or failure during send
	 */
	public Boolean emit(MonitorEvent event);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy