Class AbstractAlarmsApi<T>

java.lang.Object
org.yamcs.protobuf.alarms.AbstractAlarmsApi<T>
All Implemented Interfaces:
Api<T>
Direct Known Subclasses:
AlarmsApi, AlarmsApiClient

@Generated(value="org.yamcs.maven.ServiceGenerator", date="2024-12-10T15:41:02.519117189Z") public abstract class AbstractAlarmsApi<T> extends Object implements Api<T>
  • Constructor Details

    • AbstractAlarmsApi

      public AbstractAlarmsApi()
  • Method Details

    • listAlarms

      public abstract void listAlarms(T ctx, ListAlarmsRequest request, Observer<ListAlarmsResponse> observer)
        List alarms
       
    • listProcessorAlarms

      public abstract void listProcessorAlarms(T ctx, ListProcessorAlarmsRequest request, Observer<ListProcessorAlarmsResponse> observer)
        List alarms
       
    • editAlarm

      public abstract void editAlarm(T ctx, EditAlarmRequest request, Observer<com.google.protobuf.Empty> observer)
        Update an alarm
       
    • acknowledgeAlarm

      public abstract void acknowledgeAlarm(T ctx, AcknowledgeAlarmRequest request, Observer<com.google.protobuf.Empty> observer)
        Acknowledge an alarm
       
    • shelveAlarm

      public abstract void shelveAlarm(T ctx, ShelveAlarmRequest request, Observer<com.google.protobuf.Empty> observer)
        Shelve an alarm
       
    • unshelveAlarm

      public abstract void unshelveAlarm(T ctx, UnshelveAlarmRequest request, Observer<com.google.protobuf.Empty> observer)
        Unshelve an alarm
       
    • clearAlarm

      public abstract void clearAlarm(T ctx, ClearAlarmRequest request, Observer<com.google.protobuf.Empty> observer)
        Clear an alarm
       
    • subscribeGlobalStatus

      public abstract void subscribeGlobalStatus(T ctx, SubscribeGlobalStatusRequest request, Observer<GlobalAlarmStatus> observer)
        Receive alarm status updates
       
    • subscribeAlarms

      public abstract void subscribeAlarms(T ctx, SubscribeAlarmsRequest request, Observer<AlarmData> observer)
        Receive alarm updates
       
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface Api<T>
    • getRequestPrototype

      public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
      Specified by:
      getRequestPrototype in interface Api<T>
    • getResponsePrototype

      public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
      Specified by:
      getResponsePrototype in interface Api<T>
    • callMethod

      public final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, T ctx, com.google.protobuf.Message request, Observer<com.google.protobuf.Message> future)
      Specified by:
      callMethod in interface Api<T>
    • callMethod

      public final Observer<com.google.protobuf.Message> callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, T ctx, Observer<com.google.protobuf.Message> future)
      Specified by:
      callMethod in interface Api<T>