public class RestEventProducer extends AbstractEventProducer
By default, repeated message are detected and reduced, resulting in pseudo events with a message like 'last event repeated X times'. This behaviour can be turned off.
logAllMessages| Constructor and Description |
|---|
RestEventProducer(YamcsConnectionProperties connProp) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connection to the server; the producer is unusable after this is called
|
long |
getMissionTime() |
void |
sendEvent(Yamcs.Event event) |
String |
toString() |
flushEventBuffer, newEvent, sendCritical, sendCritical, sendDistress, sendDistress, sendError, sendInfo, sendInfo, sendSevere, sendSevere, sendWarning, sendWarning, sendWatch, sendWatch, setRepeatedEventReduction, setSeqNo, setSourcepublic RestEventProducer(YamcsConnectionProperties connProp)
public void close()
EventProducerpublic void sendEvent(Yamcs.Event event)
public long getMissionTime()
getMissionTime in class AbstractEventProducerCopyright © 2018 Space Applications Services. All rights reserved.