Package org.yamcs.http.api
Class EventsApi
- java.lang.Object
-
- org.yamcs.protobuf.AbstractEventsApi<Context>
-
- org.yamcs.http.api.EventsApi
-
-
Constructor Summary
Constructors Constructor Description EventsApi()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateEvent(Context ctx, org.yamcs.protobuf.CreateEventRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Yamcs.Event> observer)voidexportEvents(Context ctx, org.yamcs.protobuf.ExportEventsRequest request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer)static org.yamcs.protobuf.Yamcs.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.Yamcs.Event> observer)voidsubscribeEvents(Context ctx, org.yamcs.protobuf.SubscribeEventsRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Yamcs.Event> observer)
-
-
-
Method Detail
-
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.Yamcs.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.Yamcs.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.Yamcs.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
public static org.yamcs.protobuf.Yamcs.Event fromDbEvent(Db.Event other)
-
-