Class Guacamole.StringWriter
Defined in: StringWriter.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Guacamole.StringWriter(stream)
A writer which automatically writes to the given output stream with text
data.
|
Method Attributes | Method Name and Description |
---|---|
sendEnd()
Signals that no further text will be sent, effectively closing the
stream.
|
|
sendText(text)
Sends the given text.
|
Event Attributes | Event Name and Description |
---|---|
onack(status)
Fired for received data, if acknowledged by the server.
|
Class Detail
Guacamole.StringWriter(stream)
A writer which automatically writes to the given output stream with text
data.
- Parameters:
- {Guacamole.OutputStream} stream
- The stream that data will be written to.
Method Detail
sendEnd()
Signals that no further text will be sent, effectively closing the
stream.
sendText(text)
Sends the given text.
- Parameters:
- {String} text
- The text to send.
Event Detail
onack(status)
Fired for received data, if acknowledged by the server.
- Parameters:
- {Guacamole.Status} status
- The status of the operation.