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

jadex.bridge.service.component.IInternalServiceMonitoringFeature Maven / Gradle / Ivy

Go to download

Jadex bridge is a base package for kernels and platforms, i.e., it is used by both and provides commonly used interfaces and classes for active components and their management.

There is a newer version: 4.0.267
Show newest version
package jadex.bridge.service.component;

import jadex.commons.future.ISubscriptionIntermediateFuture;

/**
 *  Interface for monitoring provided and required services
 */
public interface IInternalServiceMonitoringFeature
{
	//-------- listening to events (e.g. ComAnalyzer) --------
	
	/**
	 *  Listen to service call events (call, result and commands).
	 */
	public ISubscriptionIntermediateFuture	getServiceEvents();

	//-------- posting events (e.g. Interceptors) --------
	
	/**
	 *  Post a service call event.
	 */
	public void	postServiceEvent(ServiceCallEvent event);

	/**
	 *  Check if there is someone monitoring.
	 *  To Avoid posting when nobody is listening.
	 */
	public boolean isMonitoring();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy