I got just what I needed with a custom TerminalRealm sending the avatarId
and TerminalUser to a custom TerminalSession, grabbing client host, port,
sessionno and terminal at openShell(); then put in some cleanup on
closed().
Thanks for pointing me right where I needed to go!
--
Gerrat Rickert escribió:
> ...you could try this (slightly modified from your example):
>
> from twisted.internet import reactor, defer
> from twisted.web.client import getPage
>
> def gotPageCallback(page):
> print "got a page!"
>
> dlist = [getPage('http://www.google.com').addCallback(gotPag
>-Original Message-
>From: twisted-python-boun...@twistedmatrix.com [mailto:twisted-python-
>boun...@twistedmatrix.com] On Behalf Of Antonio Beamud Montero
>Sent: Wednesday, July 08, 2009 4:42 AM
>To: Twisted general discussion
>Subject: Re: [Twisted-Python] Connecting to multiple servers
Gerrat Rickert escribió:
>> Ok, but when I use reactor.connectTCP no deferred is returned.. How I
>> can stop the reactor when all connections has finished?
>>
>> Thanks.
>>
>
> ...it would be helpful if you provided an actual example
> (your example did not use a "reactor.connectTCP");
> but
I'm new to twisted and was experimenting trying to create an imap server
based on the example within Twisted Network Programming Essentials. My
test client is Thunderbird.
I'm wondering if anyone has had any experience handling the 'noop'
command here's my scenario:
- I have two unread messages
On Wed, 08 Jul 2009 15:33:49 +0100, Darren Syzling wrote:
>I'm new to twisted and was experimenting trying to create an imap server
>based on the example within Twisted Network Programming Essentials. My
>test client is Thunderbird.
>
>I'm wondering if anyone has had any experience handling the 'n
Jean-Paul Calderone wrote:
>
> You may want to use the IMailboxListener implementation on IMAP4Server to
> handle this case (IMAP4's complicated, I'm not sure this is the right
> direction to pursue, but it's *a* direction :).
>
I'm glad you said that I thought I was going mad, I'm mired in stat
Jean-Paul Calderone wrote:
> You may want to use the IMailboxListener implementation on IMAP4Server to
> handle this case (IMAP4's complicated, I'm not sure this is the right
> direction to pursue, but it's *a* direction :).
>
>
There seems to be an immediate issue with this approach and Thunder
On 8 Jul, 04:31 am, j...@mumak.net wrote:
I've recently returned from EuroPython where I got a chance to work
with Thomas Herv� on Twisted. In the giddy rush of success I thought,
"Wouldn't it be great if we could get a whole week to do this?".
Yay!
I propose that:
- we arrange a week long s