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 Mon Jul 21 2014 14:23:21 GMT-0700 (PDT)