Kamaelia docs : Kamaelia.Protocol.HTTP.HTTPClient.SimpleHTTPClient

Kamaelia.Protocol.HTTP.HTTPClient.SimpleHTTPClient

For examples and more explanations, see the module level docs.


class SimpleHTTPClient(Axon.Component.component)

Inboxes

  • control : Shut me down
  • _carouselready : Receive NEXT when carousel has completed a request
  • inbox : URLs to download - a dict {'url':'x', 'postbody':'y'} or a just the URL as a string
  • _carouselinbox : Data from SingleShotHTTPClient via Carousel

Outboxes

  • debug : Information to aid debugging
  • outbox : Requested file's data string
  • signal : Signal I have shutdown
  • _carouselnext : Create a new SingleShotHTTPClient
  • _carouselsignal : Shutdown the carousel

Methods defined here

__init__(self)

Create and link to a carousel object

cleanup(self)

Destroy child components and send producerFinished when we quit.

main(self)

Main loop.

Feedback

Got a problem with the documentation? Something unclear that could be clearer? Want to help improve it? Constructive criticism is very welcome - especially if you can suggest a better rewording!

Please leave you feedback here in reply to the documentation thread in the Kamaelia blog.

-- Automatic documentation generator, 19 Oct 2008 at 14:29:09 UTC/GMT

This is a page from the Kamaelia website. You can find the original here: