Class Guacamole.InputStream
Defined in: InputStream.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Guacamole.InputStream(client, index)
An input stream abstraction used by the Guacamole client to facilitate
transfer of files or other binary data.
|
Field Attributes | Field Name and Description |
---|---|
The index of this stream.
|
Method Attributes | Method Name and Description |
---|---|
sendAck(message, code)
Acknowledges the receipt of a blob.
|
Event Attributes | Event Name and Description |
---|---|
onblob(data)
Called when a blob of data is received.
|
|
onend()
Called when this stream is closed.
|
Class Detail
Guacamole.InputStream(client, index)
An input stream abstraction used by the Guacamole client to facilitate
transfer of files or other binary data.
- Parameters:
- {Guacamole.Client} client
- The client owning this stream.
- {Number} index
- The index of this stream.
Field Detail
{Number}
index
The index of this stream.
Method Detail
sendAck(message, code)
Acknowledges the receipt of a blob.
- Parameters:
- {String} message
- A human-readable message describing the error or status.
- {Number} code
- The error code, if any, or 0 for success.
Event Detail
onblob(data)
Called when a blob of data is received.
- Parameters:
- {String} data
- The received base64 data.
onend()
Called when this stream is closed.