Class StreamEventProducer

  • All Implemented Interfaces:
    EventProducer

    public class StreamEventProducer
    extends AbstractEventProducer
    Event producer used from inside Yamcs to report events. It writes directly to the realtime_event stream
    • Constructor Detail

      • StreamEventProducer

        public StreamEventProducer​(String yamcsInstance)
    • Method Detail

      • sendEvent

        public void sendEvent​(Db.Event event)
      • close

        public void close()
        Description copied from interface: EventProducer
        Closes the connection to the server; the producer is unusable after this is called