Package jadex.bridge.component
Interface IExternalMonitoringComponentFeature
-
- All Superinterfaces:
IExternalComponentFeature
- All Known Subinterfaces:
IBDIAgent
,IExternalAccess
,IInternalAccess
,IMonitoringComponentFeature
- All Known Implementing Classes:
ComponentPlanBDI
,HelloWorldBDI
,HelloWorldPlan2
,IndexChangeBDI
,InterfaceInjectionBDI
,PlanMethodInjectionBDI
,PlanReasonInjectionBDI
,SayHelloBDI
public interface IExternalMonitoringComponentFeature extends IExternalComponentFeature
External perspective of the monitoring feature.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<java.lang.Void>
publishEvent(IMonitoringEvent event, IMonitoringService.PublishTarget pt)
Publish a monitoring event.ISubscriptionIntermediateFuture<IMonitoringEvent>
subscribeToEvents(IFilter<IMonitoringEvent> filter, boolean initial, IMonitoringService.PublishEventLevel elm)
Subscribe to component events.
-
-
-
Method Detail
-
subscribeToEvents
ISubscriptionIntermediateFuture<IMonitoringEvent> subscribeToEvents(IFilter<IMonitoringEvent> filter, boolean initial, IMonitoringService.PublishEventLevel elm)
Subscribe to component events.- Parameters:
filter
- An optional filter.initial
- True, for receiving the current state.
-
publishEvent
IFuture<java.lang.Void> publishEvent(IMonitoringEvent event, IMonitoringService.PublishTarget pt)
Publish a monitoring event. This event is automatically send to the monitoring service of the platform (if any).
-
-