Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/pyshared/nevow/js/Nevow/Test/ drwxr-xr-x |
Viewing file: Select action/file-type: /** * This module contains a page which can reconnect when forcibly disconnected. * Its Python half is in nevow.athena.test.acceptance.reconnect. */ // import Nevow.Athena Nevow.Test.ReconnectAcceptanceTest.ReconnectingPage = ( Nevow.Athena.PageWidget.subclass( "Nevow.Athena.ReconnectAcceptanceTest.ReconnectingPage")); Nevow.Test.ReconnectAcceptanceTest.ReconnectingPage.methods( /** * When the connection is lost, unconditionally attempt to reconnect. */ function connectionLost(self, reason) { var gp = Divmod.Runtime.theRuntime.getPage( "http://localhost:8080/?__athena_reconnect__=1" ); gp[1].addCallback(function (result) { self.__init__(eval(result.response), Nevow.Athena._createMessageDelivery); self.deliveryChannel.start(); // There's only one live element on this page, so cheat. Nevow.Athena.server.callRemote("giveElementID", 1); }); }); |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0082 ]-- |