Package org.yamcs.management
Interface ManagementListener
-
public interface ManagementListenerUsed by ManagementService to distribute various types of management-related updates
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidclientInfoChanged(ConnectedClient client)default voidclientRegistered(ConnectedClient client)default voidclientUnregistered(ConnectedClient client)default voidinstanceStateChanged(YamcsServerInstance ysi)Called when an instance state changes - for example when it is stopped/starteddefault voidprocessorAdded(org.yamcs.protobuf.ProcessorInfo processorInfo)default voidprocessorClosed(org.yamcs.protobuf.ProcessorInfo processorInfo)default voidprocessorStateChanged(org.yamcs.protobuf.ProcessorInfo processorInfo)default voidserviceRegistered(String instance, String serviceName, com.google.common.util.concurrent.Service service)default voidserviceUnregistered(String instance, String serviceName)default voidstatisticsUpdated(Processor processor, org.yamcs.protobuf.Statistics stats)Called by theManagementServicewhen the statistics for the given processor were updated.
-
-
-
Method Detail
-
processorAdded
default void processorAdded(org.yamcs.protobuf.ProcessorInfo processorInfo)
-
processorClosed
default void processorClosed(org.yamcs.protobuf.ProcessorInfo processorInfo)
-
processorStateChanged
default void processorStateChanged(org.yamcs.protobuf.ProcessorInfo processorInfo)
-
clientRegistered
default void clientRegistered(ConnectedClient client)
-
clientUnregistered
default void clientUnregistered(ConnectedClient client)
-
clientInfoChanged
default void clientInfoChanged(ConnectedClient client)
-
statisticsUpdated
default void statisticsUpdated(Processor processor, org.yamcs.protobuf.Statistics stats)
Called by theManagementServicewhen the statistics for the given processor were updated. This usually happens at about 1Hz.
-
instanceStateChanged
default void instanceStateChanged(YamcsServerInstance ysi)
Called when an instance state changes - for example when it is stopped/started- Parameters:
ysi-
-
serviceRegistered
default void serviceRegistered(String instance, String serviceName, com.google.common.util.concurrent.Service service)
-
-