hi,
is there any example how to implement long-polling channel with
Twisted while using reactor()?
Thank you.
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
On 09:46 pm, d...@delphexonline.com wrote:
>Here is what I have done so far...
>
>I have a dequeued collection that can be accessed by all the relevant
>classes. On the one end the HTTP Server appends items to this queue
>when
>it receives a valid HTTP request. On the other end, the SSMI client
>
Here is what I have done so far...
I have a dequeued collection that can be accessed by all the relevant
classes. On the one end the HTTP Server appends items to this queue when
it receives a valid HTTP request. On the other end, the SSMI client pops
these items from the queue on a 5 seconds "call
Hi guys,
I am busy developing a gateway of some sort and have the following
running so far on the reactor:
- HTTP Server listening for incoming connections and HTTP requests.
- LineReceiver client permanently connected to another server.
(Connection is established at startup)
What I need to do is
On 07:38 pm, ted.peder...@gmail.com wrote:
>How can my server utilize other web services? Is there part of the
>framework
>to do this, or should I just write a mini-client?
>
>Basically, I want to use a very simple web service, a url with a couple
>of
>params, and I get back xml or json data.
>
>
How can my server utilize other web services? Is there part of the framework
to do this, or should I just write a mini-client?
Basically, I want to use a very simple web service, a url with a couple of
params, and I get back xml or json data.
Sorry for fundamental nature of this question. Perhaps
--- On Wed, 11/18/09, Itamar Turner-Trauring (aka Shtull-Trauring)
wrote:
> On Wed, 2009-11-18 at 06:03 -0800,
> Tommaso Mazzafico wrote:
> > I tried this code:
> >
> > -
> > from twisted.spread import pb
> > from twisted.internet import reactor
> >
> >
On Wed, 2009-11-18 at 06:03 -0800, Tommaso Mazzafico wrote:
> I tried this code:
>
> -
> from twisted.spread import pb
> from twisted.internet import reactor
>
> class Echoer(pb.Root):
>def remote_echo(self, s):
> return s
> if __name__ == "__main
Thank you.
Did anyone tried AmFast: http://code.google.com/p/amfast/ ???
Quoting lasizoillo :
> 2009/11/17 :
>> hi,
>> what could be the way(Producer/Consumer?) and simple,basic example to
>> push data(~10Kb) from Twisted based server(that listening for incoming
>> requests) into client side(
I tried this code:
-
from twisted.spread import pb
from twisted.internet import reactor
class Echoer(pb.Root):
def remote_echo(self, s):
return s
if __name__ == "__main__":
reactor.listenTCP(8001, pb.PBServerFactory(Echoer()))
reactor.run()
-
10 matches
Mail list logo