public interface EventProducer
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE_ALGO_COMPILE |
static String |
TYPE_ALGO_RUN |
| 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 |
sendCritical(String type,
String msg) |
void |
sendDistress(String type,
String msg) |
void |
sendError(String type,
String msg)
Deprecated.
not according to XTCE levels, use
sendCritical(String, String) |
void |
sendEvent(Yamcs.Event event) |
void |
sendInfo(String type,
String msg) |
void |
sendSevere(String type,
String msg) |
void |
sendWarning(String type,
String msg) |
void |
sendWatch(String type,
String msg) |
void |
setRepeatedEventReduction(boolean repeatedEventReduction,
long repeatedEventTimeoutMillisec)
Enable/disable repeated event reduction.
|
void |
setSeqNo(int sn) |
void |
setSource(String source) |
static final String TYPE_ALGO_COMPILE
static final String TYPE_ALGO_RUN
void sendEvent(Yamcs.Event event)
void setSource(String source)
void setSeqNo(int sn)
@Deprecated void sendError(String type, String msg)
sendCritical(String, String)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 © 2018 Space Applications Services. All rights reserved.