jadex.bridge.component.IExternalMonitoringComponentFeature 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.component;
import jadex.bridge.service.types.monitoring.IMonitoringEvent;
import jadex.bridge.service.types.monitoring.IMonitoringService.PublishEventLevel;
import jadex.bridge.service.types.monitoring.IMonitoringService.PublishTarget;
import jadex.commons.IFilter;
import jadex.commons.future.IFuture;
import jadex.commons.future.ISubscriptionIntermediateFuture;
/**
* External perspective of the monitoring feature.
*/
public interface IExternalMonitoringComponentFeature extends IExternalComponentFeature
{
/**
* Subscribe to component events.
* @param filter An optional filter.
* @param initial True, for receiving the current state.
*/
// @Timeout(Timeout.NONE)
public ISubscriptionIntermediateFuture subscribeToEvents(IFilter filter, boolean initial, PublishEventLevel elm);
/**
* Publish a monitoring event. This event is automatically send
* to the monitoring service of the platform (if any).
*/
public IFuture publishEvent(IMonitoringEvent event, PublishTarget pt);
}