Class Slf4jEventProducer

java.lang.Object
org.yamcs.events.AbstractEventProducer
org.yamcs.events.Slf4jEventProducer
All Implemented Interfaces:
EventProducer

public class Slf4jEventProducer extends AbstractEventProducer
Prints all events via java logging.
  • Constructor Details

    • Slf4jEventProducer

      public Slf4jEventProducer()
  • Method Details

    • 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
    • getMissionTime

      public long getMissionTime()
      Specified by:
      getMissionTime in class AbstractEventProducer