public class StreamComment extends java.lang.Object implements Descriptor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_LOG
log comments are of the form:
|
static java.lang.String |
TYPE_TASK_PROGRESS
task progress comments are either of the form:
|
Constructor and Description |
---|
StreamComment(java.lang.String type,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element |
getDomElement() |
void |
setMessage(java.lang.String message) |
void |
setType(java.lang.String type) |
public static final java.lang.String TYPE_TASK_PROGRESS
[xx]000000<comment type='taskProgress' message='0 of 100'> or
[xx]000000<comment type='taskProgress' message='0 of -1'> for indeterminate
These are currently unimplemented!public static final java.lang.String TYPE_LOG
[xx]000000<comment type='log:FINE' message='calc fine process'> or
[xx]000000<comment type='log:INFO' message='reading calibration'>
Note the log level should be requested by the client.public StreamComment(java.lang.String type, java.lang.String message)
public org.w3c.dom.Element getDomElement()
getDomElement
in interface Descriptor
public void setType(java.lang.String type)
public void setMessage(java.lang.String message)