jadex.bridge.service.component.IInternalServiceMonitoringFeature Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-platform-bridge Show documentation
Show all versions of jadex-platform-bridge Show documentation
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.
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();
}