[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs