summaryrefslogtreecommitdiffstats
path: root/qx08/source/class/tr/Server.js
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2011-08-23 15:59:15 +0200
committerTobi Oetiker <tobi@oetiker.ch>2011-08-23 15:59:15 +0200
commit55490b1bfb539386b63e25a8fd90e56c0200c1e8 (patch)
tree8ab5e31b7d1579ae8640dd006c4aa01daf7f8aaa /qx08/source/class/tr/Server.js
parenta1fbf832f9f0ba3043c3300aa0ca3a3d841ce41c (diff)
downloadsmokeping-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.js55
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