diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2008-06-04 23:33:02 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2008-06-04 23:33:02 +0200 |
commit | 8364e6bbedf919008da50cc1b54dbb8a49dee88d (patch) | |
tree | 43000d161c268f626badf9723ff97b3e0e8527ee /qooxdoo/source/class/Mtr/Server.js | |
parent | 4940f51d54f1f4b994c02138defbcd8ff36a95ec (diff) | |
download | smokeping-8364e6bbedf919008da50cc1b54dbb8a49dee88d.tar.gz smokeping-8364e6bbedf919008da50cc1b54dbb8a49dee88d.tar.xz |
alter name to Tr since we do not use mtr anmore
Diffstat (limited to 'qooxdoo/source/class/Mtr/Server.js')
-rw-r--r-- | qooxdoo/source/class/Mtr/Server.js | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/qooxdoo/source/class/Mtr/Server.js b/qooxdoo/source/class/Mtr/Server.js deleted file mode 100644 index 3e77047..0000000 --- a/qooxdoo/source/class/Mtr/Server.js +++ /dev/null @@ -1,74 +0,0 @@ -/* ************************************************************************ -#module(Mtr) -************************************************************************ */ - -/** - * A Mtr specific rpc call which works - */ - -qx.Class.define('Mtr.Server', { - extend: qx.io.remote.Rpc, - type: "singleton", - - /* - ***************************************************************************** - CONSTRUCTOR - ***************************************************************************** - */ - - /** - * @param local_url {String} When running the application in file:// mode. - * where will we find our RPC server. - */ - construct: function (local_url) { - - with(this){ - base(arguments); - setTimeout(7000000); - setUrl('mtr.cgi'); - setServiceName('Mtr'); - setCrossDomain(true); - } - - return this; - }, - - /* - ***************************************************************************** - MEMBERS - ***************************************************************************** - */ - - members : - { - - /* - --------------------------------------------------------------------------- - CORE METHODS - --------------------------------------------------------------------------- - */ - - /** - * Tell about the BaseUrl we found. - * - * @type member - * - * @param {void} - * - * @return BaseUrl {Strings} - */ - - getBaseUrl: function(){ - return this.__base_url; - }, - - setLocalUrl: function(local_url){ - if ( document.location.host === '' ) { - with(this){ - setUrl(local_url+'mtr.cgi'); - } - } - } - - } -}); |