You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by vn...@apache.org on 2018/09/26 12:41:19 UTC
[1/2] guacamole-client git commit: GUACAMOLE-629: Add support for
creating argument value streams using the "argv" instruction.
Repository: guacamole-client
Updated Branches:
refs/heads/master 8a5645e90 -> ef568fb9f
GUACAMOLE-629: Add support for creating argument value streams using the "argv" instruction.
Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/75805e4c
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/75805e4c
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/75805e4c
Branch: refs/heads/master
Commit: 75805e4cab5a56f61a9df588f1ab4f892285fe1e
Parents: 0f93e7f
Author: Michael Jumper <mj...@apache.org>
Authored: Mon Sep 24 01:33:11 2018 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Tue Sep 25 13:01:15 2018 -0700
----------------------------------------------------------------------
.../src/main/webapp/modules/Client.js | 25 ++++++++++++++++++++
1 file changed, 25 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/75805e4c/guacamole-common-js/src/main/webapp/modules/Client.js
----------------------------------------------------------------------
diff --git a/guacamole-common-js/src/main/webapp/modules/Client.js b/guacamole-common-js/src/main/webapp/modules/Client.js
index 85e9346..e947b70 100644
--- a/guacamole-common-js/src/main/webapp/modules/Client.js
+++ b/guacamole-common-js/src/main/webapp/modules/Client.js
@@ -448,6 +448,31 @@ Guacamole.Client = function(tunnel) {
};
/**
+ * Opens a new argument value stream for writing, having the given
+ * parameter name and mimetype, requesting that the connection parameter
+ * with the given name be updated to the value described by the contents
+ * of the following stream. The instruction necessary to create this stream
+ * will automatically be sent.
+ *
+ * @param {String} mimetype
+ * The mimetype of the data being sent.
+ *
+ * @param {String} name
+ * The name of the connection parameter to attempt to update.
+ *
+ * @return {Guacamole.OutputStream}
+ * The created argument value stream.
+ */
+ this.createArgumentValueStream = function createArgumentValueStream(mimetype, name) {
+
+ // Allocate and associate stream with argument value metadata
+ var stream = guac_client.createOutputStream();
+ tunnel.sendMessage("argv", stream.index, mimetype, name);
+ return stream;
+
+ };
+
+ /**
* Creates a new output stream associated with the given object and having
* the given mimetype and name. The legality of a mimetype and name is
* dictated by the object itself. The instruction necessary to create this
[2/2] guacamole-client git commit: GUACAMOLE-629: Merge support for
argv instruction.
Posted by vn...@apache.org.
GUACAMOLE-629: Merge support for argv instruction.
Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/ef568fb9
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/ef568fb9
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/ef568fb9
Branch: refs/heads/master
Commit: ef568fb9f1cdac1fd5ebe452ecf5009ac7d39356
Parents: 8a5645e 75805e4
Author: Nick Couchman <vn...@apache.org>
Authored: Wed Sep 26 08:40:48 2018 -0400
Committer: Nick Couchman <vn...@apache.org>
Committed: Wed Sep 26 08:40:48 2018 -0400
----------------------------------------------------------------------
.../src/main/webapp/modules/Client.js | 25 ++++++++++++++++++++
1 file changed, 25 insertions(+)
----------------------------------------------------------------------