close method for ConnectedTransport
Bug #579800 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
bzrlib would be way more useful if ConnectedTransport and its subclasses had a disconnect() or close() method that severed the connection.
Changed in bzr: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | added: api transport |
To post a comment you must log in.
Jono, can you expand on why this would make bzrlib easier to use - handle- to-a-directory model.
transports as a whole work on a stateless-
ConnectedTransport is a subclass that makes making transports which
can use a single backing tcp-or-other connection easier to write.
Other transports may have one (or more) external connections, and
ConnectedTransports might have no open connections, given the
open-as-needed model.
-Rob