Class Index | File Index

Classes


Class Guacamole.Blob


Defined in: guacamole.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Guacamole.Blob(mimetype, name)
A blob abstraction used by the Guacamole client to facilitate transfer of files or other binary data.
Field Summary
Field Attributes Field Name and Description
 
The mimetype of the data contained within this blob.
 
The name of this blob.
Method Summary
Method Attributes Method Name and Description
 
append(data)
 
Closes this Guacamole.Blob such that no further data will be written.
 
getBlob()
 
Returns the current length of this Guacamole.Blob, in bytes.
Event Summary
Event Attributes Event Name and Description
 
Fired once this blob is finished and no further data will be written.
 
ondata(length)
Fired once for every blob of data received.
Class Detail
Guacamole.Blob(mimetype, name)
A blob abstraction used by the Guacamole client to facilitate transfer of files or other binary data.
Parameters:
{String} mimetype
The mimetype of the data this blob will contain.
{String} name
An arbitrary name for this blob.
Field Detail
mimetype
The mimetype of the data contained within this blob.

name
The name of this blob. In general, this should be an appropriate filename.
Method Detail
append(data)
Parameters:
data

close()
Closes this Guacamole.Blob such that no further data will be written.

getBlob()

{Number} getLength()
Returns the current length of this Guacamole.Blob, in bytes.
Returns:
{Number} The current length of this Guacamole.Blob.
Event Detail
oncomplete()
Fired once this blob is finished and no further data will be written.

ondata(length)
Fired once for every blob of data received.
Parameters:
{Number} length
The number of bytes received.

Documentation generated by JsDoc Toolkit 2.4.0 on Fri May 23 2014 12:15:22 GMT-0700 (PDT)