public class Tracewin extends Object implements ActionListener, SecsTraceItf
You must provide this kind of feature to your field support personnel so they can diagnose communication and configuration problems.
| Constructor and Description |
|---|
Tracewin(SecsConn sh,
boolean allowLogging)
Construct and show a window to display SECS communication activity.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
dismiss()
dismiss the window and end the related trace messages
|
void |
secsTrace(SecsConn sp,
String traceType,
String text)
receive trace data - executed internally and not by applications
|
void |
show(boolean allowLogging)
Make the window visible in the normal size state.
|
public Tracewin(SecsConn sh, boolean allowLogging)
sh - the SECS connectionallowLogging - whether to allow access to the configuration
dialog that configures logging of the trace data.public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void dismiss()
public void secsTrace(SecsConn sp, String traceType, String text)
secsTrace in interface SecsTraceItfsp - SECS connectiontraceType - "trace", "rtrace", or "strace" to tag the text as
relating to the connection, receiving, or sending.public void show(boolean allowLogging)
allowLogging - whether to allow access to the configuration
dialog that configures logging of the trace data.