Package org.yamcs.http.api
Class EventsApi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createEvent
(Context ctx, CreateEventRequest request, Observer<Event> observer) Create an eventvoid
exportEvents
(Context ctx, ExportEventsRequest request, Observer<HttpBody> observer) Export events in CSV formatstatic Event
fromDbEvent
(Db.Event other) void
listEvents
(Context ctx, ListEventsRequest request, Observer<ListEventsResponse> observer) List eventsvoid
listEventSources
(Context ctx, ListEventSourcesRequest request, Observer<ListEventSourcesResponse> observer) List event sourcesvoid
streamEvents
(Context ctx, StreamEventsRequest request, Observer<Event> observer) Streams back eventssubscribeEvents
(Context ctx, Observer<Event> observer) Receive event updatesMethods inherited from class org.yamcs.protobuf.AbstractEventsApi
callMethod, callMethod, getDescriptorForType, getRequestPrototype, getResponsePrototype
-
Constructor Details
-
EventsApi
public EventsApi()
-
-
Method Details
-
listEvents
public void listEvents(Context ctx, ListEventsRequest request, Observer<ListEventsResponse> observer) Description copied from class:AbstractEventsApi
List events
- Specified by:
listEvents
in classAbstractEventsApi<Context>
-
createEvent
Description copied from class:AbstractEventsApi
Create an event
- Specified by:
createEvent
in classAbstractEventsApi<Context>
-
listEventSources
public void listEventSources(Context ctx, ListEventSourcesRequest request, Observer<ListEventSourcesResponse> observer) Description copied from class:AbstractEventsApi
List event sources
- Specified by:
listEventSources
in classAbstractEventsApi<Context>
-
subscribeEvents
Description copied from class:AbstractEventsApi
Receive event updates
- Specified by:
subscribeEvents
in classAbstractEventsApi<Context>
-
streamEvents
Description copied from class:AbstractEventsApi
Streams back events
- Specified by:
streamEvents
in classAbstractEventsApi<Context>
-
exportEvents
Description copied from class:AbstractEventsApi
Export events in CSV format
- Specified by:
exportEvents
in classAbstractEventsApi<Context>
-
fromDbEvent
-