public interface EventProducer
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connection to the server; the producer is unusable after this is called
|
Yamcs.Event.Builder |
newEvent()
Creates a default Event Builder with these fields pre-filled: source,
seqNo, receptionTime, generationTime
|
void |
sendError(String type,
String msg) |
void |
sendEvent(Yamcs.Event event) |
void |
sendInfo(String type,
String msg) |
void |
sendWarning(String type,
String msg) |
void |
setRepeatedEventReduction(boolean repeatedEventReduction,
long repeatedEventTimeoutMillisec)
Enable/disable repeated event reduction.
|
void |
setSeqNo(int sn) |
void |
setSource(String source) |
void sendEvent(Yamcs.Event event)
void setSource(String source)
void setSeqNo(int sn)
void setRepeatedEventReduction(boolean repeatedEventReduction,
long repeatedEventTimeoutMillisec)
repeatedEventReduction - if true - enable the reduction of events.repeatedEventTimeoutMillisec - - how long to keep quiet in case of equal events being sentYamcs.Event.Builder newEvent()
void close()
Copyright © 2017 Space Applications Services. All rights reserved.