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 TypeMethodDescriptionvoid
createEvent
(Context ctx, org.yamcs.protobuf.CreateEventRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Event> observer) void
exportEvents
(Context ctx, org.yamcs.protobuf.ExportEventsRequest request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer) static org.yamcs.protobuf.Event
fromDbEvent
(Db.Event other) void
listEvents
(Context ctx, org.yamcs.protobuf.ListEventsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListEventsResponse> observer) void
listEventSources
(Context ctx, org.yamcs.protobuf.ListEventSourcesRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.ListEventSourcesResponse> observer) void
streamEvents
(Context ctx, org.yamcs.protobuf.StreamEventsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Event> observer) void
subscribeEvents
(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
public 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:
listEvents
in 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:
createEvent
in 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:
listEventSources
in 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:
subscribeEvents
in 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:
streamEvents
in 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:
exportEvents
in classorg.yamcs.protobuf.AbstractEventsApi<Context>
-
fromDbEvent
-