Opened 8 years ago
Closed 6 years ago
#4470 enhancement closed fixed (fixed)
Add IPv6 Stream Endpoints
Reported by: | Glyph | Owned by: | ashfall |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Keywords: | endpoint ipv6 |
Cc: | Branch: | ||
Author: |
Description (last modified by )
Change History (8)
comment:1 Changed 8 years ago by
comment:2 Changed 7 years ago by
Keywords: | endpoint added |
---|
comment:3 Changed 7 years ago by
Owner: | Glyph deleted |
---|
comment:4 Changed 7 years ago by
Keywords: | ipv6 added |
---|
comment:5 Changed 6 years ago by
comment:6 Changed 6 years ago by
comment:7 Changed 6 years ago by
Owner: | set to ashfall |
---|
comment:8 Changed 6 years ago by
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [29147]) Merge endpoints-1442-5: a high level connection and listening API
Author: rwall, dreid, glyph
Reviewer: radix, exarkun, glyph, jknight
Fixes: #1442
Refs: #4470 Refs: #4471 Refs: #4472 Refs: #4473 Refs: #3204
Added new "endpoint" interfaces in twisted.internet.interfaces, which abstractly describe stream transport endpoints which can be listened on or connected to. Implementations for TCP and SSL clients and servers are present in twisted.internet.endpoints. Notably, client endpoints' connect() methods return cancellable Deferreds, so code written to use them can bypass the awkward "ClientFactory.clientConnectionFailed" and "Connector.stopConnecting" methods, and handle errbacks from or cancel the returned deferred, respectively.