Moved the twisted-ful client out into txstatsd.protocol, and attempt to import that from txstatsd.client.
Added a test to ensure the twisted-less client can still be imported with twisted unavailable.
Added missing license header and test cleanup, per code review.
Avoid using assertIsNone in tests, as the trial version on tarmac doesn't have that available.
[r=sidnei] Made it possible to use the non-twisted client code even if twisted is unavailable.
- Add a connect/disconnect to ConsistentHashingClient
- Add tests
[r=lucio.torre] Add a connect/disconnect to ConsistentHashingClient
- Move TimerResource to httpinfo so that importing timermetric does not install a reactor by accident.
Factory method to defer instance creation for after resolving the host
Replacing direct instantiation with factory method in tests with failures
Connecting directly to the host without resolving it, when using the initializer directly
Renaming method to a shorter name
[r=sidnei] Removing host resolving from initializer and creating a factory method to do the host resolving procedure
Initial implementation of DataQueue and TransportGateway
Passing the reactor to the TransportGateway
Callback for when the host is resolved
Returning the instance itself when issuing create()
Connecting to host and port as soon as the host is resolved
Delegating real writes to the TransportGateway
Queueing the data instead of sending, if the host hasn't resolved yet