Class Index | File Index

Classes


Class Guacamole.ArrayBufferReader


Defined in: ArrayBufferReader.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
A reader which automatically handles the given input stream, returning strictly received packets as array buffers.
Event Summary
Event Attributes Event Name and Description
 
ondata(buffer)
Fired once for every blob of data received.
 
Fired once this stream is finished and no further data will be written.
Class Detail
Guacamole.ArrayBufferReader(stream)
A reader which automatically handles the given input stream, returning strictly received packets as array buffers. 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.
Event Detail
ondata(buffer)
Fired once for every blob of data received.
Parameters:
{ArrayBuffer} buffer
The data packet received.

onend()
Fired once this stream is finished and no further data will be written.

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