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 void
createEvent(Context ctx, org.yamcs.protobuf.CreateEventRequest request, org.yamcs.api.Observer<org.yamcs.protobuf.Yamcs.Event> observer)
void
exportEvents(Context ctx, org.yamcs.protobuf.ExportEventsRequest request, org.yamcs.api.Observer<org.yamcs.api.HttpBody> observer)
static org.yamcs.protobuf.Yamcs.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.Yamcs.Event> observer)
void
subscribeEvents(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:
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.Yamcs.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.Yamcs.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.Yamcs.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
public static org.yamcs.protobuf.Yamcs.Event fromDbEvent(Db.Event other)
-
-