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 |
sendCritical(String msg)
send an critical event with the type automatically filled in as the caller class name
|
void |
sendCritical(String type,
String msg) |
void |
sendDistress(String msg)
send an distress event with the type automatically filled in as the caller class name
|
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 msg)
send an info event with the type automatically filled in as the caller class name
|
void |
sendInfo(String type,
String msg) |
void |
sendSevere(String msg)
send an severe event with the type automatically filled in as the caller class name
|
void |
sendSevere(String type,
String msg) |
void |
sendWarning(String msg)
send an warning event with the type automatically filled in as the caller class name
|
void |
sendWarning(String type,
String msg)
Send a warning event with the given type
|
void |
sendWatch(String msg)
send an watch event with the type automatically filled in as the caller class name
|
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) |
void sendEvent(Yamcs.Event event)
void setSource(String source)
void setSeqNo(int sn)
@Deprecated void sendError(String type, String msg)
sendCritical(String, String)void sendWarning(String type, String msg)
type - msg - void sendInfo(String msg)
msg - - event messagevoid sendWarning(String msg)
msg - - event messagevoid sendWatch(String msg)
msg - - event messagevoid sendDistress(String msg)
msg - - event messagevoid sendCritical(String msg)
msg - - event messagevoid sendSevere(String msg)
msg - - event messagevoid 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.