org.das2.qstream.StreamComment

StreamComment allows comments to be put onto the stream. TODO: consider that comments should be sourced by the stream producer, but what about comments from filters? That is, if I'm a filter and I produce comments, should I throw out the comments I receive?

StreamComment( String type, String message )


TYPE_TASK_PROGRESS

task progress comments are either of the form:

 {@code
   [xx]000000   or
   [xx]000000 for indeterminate
 }
 
These are currently unimplemented!


TYPE_LOG

log comments are of the form:

 {@code
   [xx]000000   or
   [xx]000000
 }
 
Note the log level should be requested by the client.


getDomElement

getDomElement( ) → Element

Returns:

org.w3c.dom.Element

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setMessage

setMessage( String message ) → void

Parameters

message - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setType

setType( String type ) → void

Parameters

type - a String

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]