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 realtime_event stream
-
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
-
StreamEventProducer
-
-
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
-