Package org.yamcs.protobuf.alarms
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
acknowledgeAlarm
(T ctx, AcknowledgeAlarmRequest request, Observer<com.google.protobuf.Empty> observer) Acknowledge an alarmfinal void
callMethod
(com.google.protobuf.Descriptors.MethodDescriptor method, T ctx, com.google.protobuf.Message request, Observer<com.google.protobuf.Message> future) final Observer<com.google.protobuf.Message>
callMethod
(com.google.protobuf.Descriptors.MethodDescriptor method, T ctx, Observer<com.google.protobuf.Message> future) abstract void
clearAlarm
(T ctx, ClearAlarmRequest request, Observer<com.google.protobuf.Empty> observer) Clear an alarmabstract void
editAlarm
(T ctx, EditAlarmRequest request, Observer<com.google.protobuf.Empty> observer) Update an alarmfinal com.google.protobuf.Descriptors.ServiceDescriptor
final com.google.protobuf.Message
getRequestPrototype
(com.google.protobuf.Descriptors.MethodDescriptor method) final com.google.protobuf.Message
getResponsePrototype
(com.google.protobuf.Descriptors.MethodDescriptor method) abstract void
listAlarms
(T ctx, ListAlarmsRequest request, Observer<ListAlarmsResponse> observer) List alarmsabstract void
listProcessorAlarms
(T ctx, ListProcessorAlarmsRequest request, Observer<ListProcessorAlarmsResponse> observer) List alarmsabstract void
shelveAlarm
(T ctx, ShelveAlarmRequest request, Observer<com.google.protobuf.Empty> observer) Shelve an alarmabstract void
subscribeAlarms
(T ctx, SubscribeAlarmsRequest request, Observer<AlarmData> observer) Receive alarm updatesabstract void
subscribeGlobalStatus
(T ctx, SubscribeGlobalStatusRequest request, Observer<GlobalAlarmStatus> observer) Receive alarm status updatesabstract void
unshelveAlarm
(T ctx, UnshelveAlarmRequest request, Observer<com.google.protobuf.Empty> observer) Unshelve an alarm
-
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 interfaceApi<T>
-
getRequestPrototype
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) - Specified by:
getRequestPrototype
in interfaceApi<T>
-
getResponsePrototype
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) - Specified by:
getResponsePrototype
in interfaceApi<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 interfaceApi<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 interfaceApi<T>
-