Package org.yamcs.events
Class Slf4jEventProducer
java.lang.Object
org.yamcs.events.AbstractEventProducer
org.yamcs.events.Slf4jEventProducer
- All Implemented Interfaces:
EventProducer
Prints all events via java logging.
-
Field Summary
Fields inherited from class org.yamcs.events.AbstractEventProducer
logAllMessages
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes the connection to the server; the producer is unusable after this is calledlong
void
Methods inherited from class org.yamcs.events.AbstractEventProducer
flushEventBuffer, newEvent, sendCritical, sendDistress, sendEvent, sendInfo, sendSevere, sendWarning, sendWatch, setRepeatedEventReduction, setSeqNo, setSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.yamcs.events.EventProducer
sendCritical, sendDistress, sendError, sendInfo, sendSevere, sendWarning, sendWatch
-
Constructor Details
-
Slf4jEventProducer
public Slf4jEventProducer()
-
-
Method Details
-
sendEvent
-
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 classAbstractEventProducer
-