Re: [Twisted-Python] Catching error in protocol.ReconnectingClientFactory

2012-06-25 Thread Adrian Overbury
On 26/06/2012, at 7:47 AM, Martin wrote: > On 25/06/12 22:27, Adrian Overbury wrote: >> On 25/06/2012, at 10:16 PM, Martin wrote: >> >>> On 14/06/12 12:38, Martin wrote: Hi, thanks for your reply. Indeed, the ReconnectingClientFactory is being sent the Failure object to >>

Re: [Twisted-Python] Catching error in protocol.ReconnectingClientFactory

2012-06-25 Thread gelin yan
On Tue, Jun 26, 2012 at 5:47 AM, Martin wrote: > On 25/06/12 22:27, Adrian Overbury wrote: > > On 25/06/2012, at 10:16 PM, Martin wrote: > > > >> On 14/06/12 12:38, Martin wrote: > >>> Hi, thanks for your reply. > >>> > >>> Indeed, the ReconnectingClientFactory is being sent the Failure object >

Re: [Twisted-Python] Catching error in protocol.ReconnectingClientFactory

2012-06-25 Thread Martin
On 25/06/12 22:27, Adrian Overbury wrote: > On 25/06/2012, at 10:16 PM, Martin wrote: > >> On 14/06/12 12:38, Martin wrote: >>> Hi, thanks for your reply. >>> >>> Indeed, the ReconnectingClientFactory is being sent the Failure object to >>> >>> def clientConnectionLost(self, connector, reason): >>

Re: [Twisted-Python] Catching error in protocol.ReconnectingClientFactory

2012-06-25 Thread Adrian Overbury
On 25/06/2012, at 10:16 PM, Martin wrote: > On 14/06/12 12:38, Martin wrote: >> Hi, thanks for your reply. >> >> Indeed, the ReconnectingClientFactory is being sent the Failure object to >> >> def clientConnectionLost(self, connector, reason): >>log.msg('Lost connection. Reason: %s' % r

[Twisted-Python] XMLRPC --> Twisted

2012-06-25 Thread vinod kumar
Hi, I have made a server code in xmlrpc. It has a command "server.register_multicall_functions()". How do I write the same in twisted server? This is the main of the twisted server : if __name__ == '__main__': from twisted.internet import reactor r = Example()

Re: [Twisted-Python] Catching error in protocol.ReconnectingClientFactory

2012-06-25 Thread Martin
On 14/06/12 12:38, Martin wrote: > Hi, thanks for your reply. > > Indeed, the ReconnectingClientFactory is being sent the Failure object to > > def clientConnectionLost(self, connector, reason): > log.msg('Lost connection. Reason: %s' % reason) > protocol.ReconnectingClientFactory.clientCon

Re: [Twisted-Python] iConnector factory not what expected

2012-06-25 Thread Martin
On 15/06/12 14:15, exar...@twistedmatrix.com wrote: > On 08:50 am, mar...@webscio.net wrote: >> On 15/06/12 01:40, exar...@twistedmatrix.com wrote: >>> On 14 Jun, 03:34 pm, mar...@webscio.net wrote: Hi again, I've a bit of code that does the following: f = MyReconnectingCli