Opened 4 years ago

Closed 4 years ago

#7859 closed enhancement (implemented)

add Controller.get_streams method

Reported by: robinson Owned by: atagar
Priority: Medium Milestone:
Component: Core Tor/Stem Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: #7687 Points:
Reviewer: Sponsor:

Description

Add a method to retrieve a list of streams currently handled by the tor process. Please pull the exp-get-streams[0] branch.

[0]: https://gitorious.org/stem-robinson/stem-robinson/commits/exp-get-streams

Child Tickets

Change History (1)

comment:1 Changed 4 years ago by atagar

  • Resolution set to implemented
  • Status changed from new to closed

Thanks! I'm a little tempted to add a corresponding get_stream(id) and maybe get_stream_by_target(address, port) method, but those can wait until someone has a need for them.

Pushed with some small changes...

https://gitweb.torproject.org/stem.git/commitdiff/40a8d3da7505c3b62c8d1a2c353b17d3635bcab8
https://gitweb.torproject.org/stem.git/commitdiff/7b2f6be091f4bb340277a49565bf37ec3a97e3c2
https://gitweb.torproject.org/stem.git/commitdiff/9808fbc0abf13ea0a6e5cef3249c286e36592494

Note: See TracTickets for help on using tickets.