[tor-bugs] #12869 [Onionoo]: protocol api separation

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Aug 17 07:48:10 UTC 2014


#12869: protocol api separation
-------------------------+----------------------
     Reporter:  iwakeh   |      Owner:  iwakeh
         Type:  task     |     Status:  assigned
     Priority:  normal   |  Milestone:
    Component:  Onionoo  |    Version:
   Resolution:           |   Keywords:
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+----------------------

Comment (by karsten):

 Another thought: if you plan to re-use the docs classes in your tool, we
 should probably extract interfaces from them.  What functionality would
 you need in those?  a) parser from JSON string and b) getters for all
 fields?  (Of course, we'd have to solve the instantiation problem somehow,
 either by adding a factory, or dependency injection, or ...)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12869#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list