diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2011-08-23 15:59:15 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2011-08-23 15:59:15 +0200 |
commit | 55490b1bfb539386b63e25a8fd90e56c0200c1e8 (patch) | |
tree | 8ab5e31b7d1579ae8640dd006c4aa01daf7f8aaa /qx08/source/class/tr/Server.js | |
parent | a1fbf832f9f0ba3043c3300aa0ca3a3d841ce41c (diff) | |
download | smokeping-55490b1bfb539386b63e25a8fd90e56c0200c1e8.tar.gz smokeping-55490b1bfb539386b63e25a8fd90e56c0200c1e8.tar.xz |
clean out smoketrace
Diffstat (limited to 'qx08/source/class/tr/Server.js')
-rw-r--r-- | qx08/source/class/tr/Server.js | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/qx08/source/class/tr/Server.js b/qx08/source/class/tr/Server.js deleted file mode 100644 index af9cbc4..0000000 --- a/qx08/source/class/tr/Server.js +++ /dev/null @@ -1,55 +0,0 @@ -/* ************************************************************************ - Copyright: 2008, OETIKER+PARTNER AG - License: GPL - Authors: Tobias Oetiker - $Id: $ -* ************************************************************************ */ - -/** - * A Tr specific rpc call which works - */ -qx.Class.define('tr.Server', { - extend : qx.io.remote.Rpc, - type : "singleton", - - - /** - * @param local_url {String} When running the application in file:// mode, where will we find our RPC server. - */ - construct : function(local_url) { - this.base(arguments); - - this.set({ - timeout : 60000, - url : 'tr.cgi', - serviceName : 'tr' - }); - }, - - members : { - /** - * Tell about the BaseUrl we found. - * - * @type member - * @return {var} BaseUrl {Strings} - */ - getBaseUrl : function() { - return this.__base_url; - }, - - - /** - * TODOC - * - * @type member - * @param local_url {var} TODOC - * @return {void} - */ - setLocalUrl : function(local_url) { - if (document.location.host === '') { - this.setCrossDomain(true); - this.setUrl(local_url + 'tr.cgi'); - } - } - } -});
\ No newline at end of file |