Package org.yamcs.events
Class StreamEventProducer
java.lang.Object
org.yamcs.events.AbstractEventProducer
org.yamcs.events.StreamEventProducer
- All Implemented Interfaces:
EventProducer
Event producer used from inside Yamcs to report events. It writes directly to the events_realtime stream
-
Field Summary
Fields inherited from class org.yamcs.events.AbstractEventProducer
logAllMessages -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the connection to the server; the producer is unusable after this is calledlongvoidMethods inherited from class org.yamcs.events.AbstractEventProducer
flushEventBuffer, newEvent, sendCritical, sendDistress, sendEvent, sendInfo, sendSevere, sendWarning, sendWatch, setRepeatedEventReduction, setSeqNo, setSourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.yamcs.events.EventProducer
sendCritical, sendDistress, sendError, sendInfo, sendSevere, sendWarning, sendWatch
-
Constructor Details
-
StreamEventProducer
-
-
Method Details
-
sendEvent
-
close
public void close()Description copied from interface:EventProducerCloses the connection to the server; the producer is unusable after this is called -
getMissionTime
public long getMissionTime()- Specified by:
getMissionTimein classAbstractEventProducer
-