Catching up, more (and better) comments to describe where the endpoint is stuck.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36054 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Firing the Deferred returned by the connected endpoint using the connected factory (from MemoryReactor) in test_IPv4IsFaster

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36055 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Test for checking if the connection to a faster IPv4 adderess is established by HostnameEndpoint, when gai returns an IPv4 and an IPv6 address

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36064 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Test for checking if the connection to a faster IPv6 adderess is established by HostnameEndpoint, when gai returns an IPv4 and an IPv6 address

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36065 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Eliminating endpointGenerator(), getEndpoints() now directly gives the endpoints

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36126 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
testGetEndpoints() added. Now we know what goes on inside getEndpoints().

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36129 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Rename getEndpoints to endpoints

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36130 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Using callLater, and Clock

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36134 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Rename endpoints() to _endpoints()

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36135 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Dealing with the case when there are no more endpoints left in the generator, and using LoopingCall better

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36220 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Fixing attemptConnection()

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36221 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Cancelling all the outstanding connection, when a connection attempt succeeds, using clock as reactor

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36222 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Using MemoryReactorWithConnectorsAndTime in place of Clock, as the fake reactor

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36223 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Some TODOs for later reference.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36224 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Skipping test_endpointConnectFailure (to fix later)

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36259 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Add MemoryReactorForIPv6 to only connect if the address is an IPv6 address in the test (i.e. not '1.2.3.4').

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36260 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
iterateEndpoint is now called every 0.3seconds

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36261 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
raising ConnectError in MemoryReactorForIPv6 when host address is '1.2.3.4'

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36262 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Not using MemoryReactorForIPv6, and delay between two connection attempts is now 0sec.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36305 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Advancing the clock, test passes.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/branches/gai-endpoint-4859-2@36307 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb