Class Index | File Index

Classes


Class Guacamole.StringReader


Defined in: StringReader.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A reader which automatically handles the given input stream, returning strictly text data.
Field Summary
Field Attributes Field Name and Description
<inner>  
The number of bytes remaining for the current codepoint.
<inner>  
The current codepoint value, as calculated from bytes read so far.
Event Summary
Event Attributes Event Name and Description
 
Fired once this stream is finished and no further data will be written.
 
ontext(text)
Fired once for every blob of text data received.
Class Detail
Guacamole.StringReader(stream)
A reader which automatically handles the given input stream, returning strictly text data. Note that this object will overwrite any installed event handlers on the given Guacamole.InputStream.
Parameters:
{Guacamole.InputStream} stream
The stream that data will be read from.
Field Detail
<inner> {Number} bytes_remaining
The number of bytes remaining for the current codepoint.

<inner> {Number} codepoint
The current codepoint value, as calculated from bytes read so far.
Event Detail
onend()
Fired once this stream is finished and no further data will be written.

ontext(text)
Fired once for every blob of text data received.
Parameters:
{String} text
The data packet received.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jun 10 2015 21:35:44 GMT-0700 (PDT)