Rename functions appropriately.

This commit is contained in:
Michael Jumper
2013-09-23 23:55:17 -07:00
parent 324b6237a9
commit 29bd388bdb
2 changed files with 6 additions and 6 deletions

View File

@@ -542,7 +542,7 @@ Guacamole.Client = function(tunnel) {
* @param {String} mimetype The mimetype of the file being sent.
* @param {String} filename The filename of the file being sent.
*/
this.openFile = function(index, mimetype, filename) {
this.beginFileStream = function(index, mimetype, filename) {
// Do not send requests if not connected
if (!isConnected())
@@ -567,11 +567,11 @@ Guacamole.Client = function(tunnel) {
};
/**
* Marks a currently-open file as closed.
* Marks a currently-open stream as complete.
*
* @param {Number} index The index of the file to close.
* @param {Number} index The index of the stream to end.
*/
this.closeFile = function(index) {
this.endStream = function(index) {
// Do not send requests if not connected
if (!isConnected())