Class Guacamole.OutputStream
Defined in: OutputStream.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Guacamole.OutputStream(client, index)
Abstract stream which can receive data.
|
Field Attributes | Field Name and Description |
---|---|
The index of this stream.
|
Method Attributes | Method Name and Description |
---|---|
sendBlob(data)
Writes the given base64-encoded data to this stream as a blob.
|
|
sendEnd()
Closes this stream.
|
Event Attributes | Event Name and Description |
---|---|
onack(status)
Fired whenever an acknowledgement is received from the server, indicating
that a stream operation has completed, or an error has occurred.
|
Class Detail
Guacamole.OutputStream(client, index)
Abstract stream which can receive 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
sendBlob(data)
Writes the given base64-encoded data to this stream as a blob.
- Parameters:
- {String} data
- The base64-encoded data to send.
sendEnd()
Closes this stream.
Event Detail
onack(status)
Fired whenever an acknowledgement is received from the server, indicating
that a stream operation has completed, or an error has occurred.
- Parameters:
- {Guacamole.Status} status
- The status of the operation.