Class EventsApi

java.lang.Object
org.yamcs.protobuf.AbstractEventsApi<Context>
org.yamcs.http.api.EventsApi
All Implemented Interfaces:
org.yamcs.api.Api<Context>

public class EventsApi extends org.yamcs.protobuf.AbstractEventsApi<Context>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class org.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 class org.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 class org.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 class org.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 class org.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 class org.yamcs.protobuf.AbstractEventsApi<Context>
    • fromDbEvent

      public static org.yamcs.protobuf.Event fromDbEvent(Db.Event other)