An extensible driver framework with pooling
© 2012 Urban Airship
- Create a reusable connection pool class that handles failover
Creating a New Client
Subclass at least KiddieClient to create the public API for your client driver. Should call KiddieClient._sendall(<str>) to send data.
TODO Support recv() ing data too
TODO Have the client create it’s own pool?
Using the Pool
- Create a KiddiePool of connections (KiddieConnections)
- Pass the pool instance to your KiddieClient subclass for use
- Use your client’s API and it will use the pool automatically
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size kiddiepool-0.1.1.tar.gz (4.1 kB)||File type Source||Python version None||Upload date||Hashes View hashes|