java.lang.Object
org.yamcs.protobuf.AbstractEventsApi<Context>
org.yamcs.http.api.EventsApi
- All Implemented Interfaces:
org.yamcs.api.Api<Context>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateEvent(Context ctx, org.yamcs.protobuf.CreateEventRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Event> observer) voidexportEvents(Context ctx, org.yamcs.protobuf.ExportEventsRequest request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer) static org.yamcs.protobuf.EventfromDbEvent(Db.Event other) voidlistEvents(Context ctx, org.yamcs.protobuf.ListEventsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListEventsResponse> observer) voidlistEventSources(Context ctx, org.yamcs.protobuf.ListEventSourcesRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListEventSourcesResponse> observer) voidstreamEvents(Context ctx, org.yamcs.protobuf.StreamEventsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Event> observer) voidsubscribeEvents(Context ctx, org.yamcs.protobuf.SubscribeEventsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Event> observer) Methods inherited from class org.yamcs.protobuf.AbstractEventsApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
EventsApi
-
-
Method Details
-
listEvents
public void listEvents(Context ctx, org.yamcs.protobuf.ListEventsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListEventsResponse> observer) - Specified by:
listEventsin classorg.yamcs.protobuf.AbstractEventsApi<Context>
-
createEvent
public void createEvent(Context ctx, org.yamcs.protobuf.CreateEventRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Event> observer) - Specified by:
createEventin classorg.yamcs.protobuf.AbstractEventsApi<Context>
-
listEventSources
public void listEventSources(Context ctx, org.yamcs.protobuf.ListEventSourcesRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListEventSourcesResponse> observer) - Specified by:
listEventSourcesin classorg.yamcs.protobuf.AbstractEventsApi<Context>
-
subscribeEvents
public void subscribeEvents(Context ctx, org.yamcs.protobuf.SubscribeEventsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Event> observer) - Specified by:
subscribeEventsin classorg.yamcs.protobuf.AbstractEventsApi<Context>
-
streamEvents
public void streamEvents(Context ctx, org.yamcs.protobuf.StreamEventsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Event> observer) - Specified by:
streamEventsin classorg.yamcs.protobuf.AbstractEventsApi<Context>
-
exportEvents
public void exportEvents(Context ctx, org.yamcs.protobuf.ExportEventsRequest request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer) - Specified by:
exportEventsin classorg.yamcs.protobuf.AbstractEventsApi<Context>
-
fromDbEvent
-