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

[tor-bugs] #18797 [metrics-lib]: create a DescriptorGenerator?



#18797: create a DescriptorGenerator?
-----------------------------+---------------------
     Reporter:  iwakeh       |      Owner:  karsten
         Type:  enhancement  |     Status:  new
     Priority:  Low          |  Milestone:
    Component:  metrics-lib  |    Version:
     Severity:  Normal       |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |   Reviewer:
      Sponsor:               |
-----------------------------+---------------------
 quote from #16873:
   I pondered adding a `DescriptorGenerator` a while ago, where one would
 construct a new instance of a `Descriptor`, call its setters to give it
 some values, and then have the generator generate a text representation of
 that descriptor.  This would be useful for testing and maybe other things.
 Now, would the Javadoc of these setters copy the Javadoc of the getters or
 simply link to them?  Or would we use some smarter pattern for building
 these instances?  (And is there a smarter pattern for parsed descriptors
 than a huge interface with dozens of getters?)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18797>
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