Package twisted :: Package internet :: Module protocol :: Class ClientCreator

[show private | hide private]
[frames | no frames]

## Class ClientCreator

Useful for cases when we don't really need a factory.

Mainly this is when there is no shared state between protocol instances (e.g. protocols that work in a way similar to httplib or smtplib).

The API for this class is not stable.

Method Summary
| `__init__(self, reactor, protocolClass, *args, **kwargs)`
| ``connectTCP`(self, host, port, timeout, bindAddress)` Connect to remote host, return Deferred of resulting protocol instance.

Method Details

### connectTCP(self, host, port, timeout=30, bindAddress=None)

Connect to remote host, return Deferred of resulting protocol instance.

Generated by Epydoc 1.1 on Thu May 8 13:16:28 2003 | http://epydoc.sf.net