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

[tor-bugs] #33090 [Metrics/Library]: Make all Descriptor implementors serializable



#33090: Make all Descriptor implementors serializable
-------------------------+---------------------------------
 Reporter:  notirl       |          Owner:  metrics-team
     Type:  enhancement  |         Status:  new
 Priority:  Medium       |      Component:  Metrics/Library
  Version:               |       Severity:  Normal
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
 Reviewer:               |        Sponsor:
-------------------------+---------------------------------
 For most distributed/cloud data frameworks, it is necessary to serialize
 objects to pass them around the system.

 This change should be as simple as having the Descriptor interface extend
 Serializable, and then adding a constant serial UID to every implementing
 class.

 As we currently don't declare these as serializable, nothing is trying to
 serialize them, so this should be a low-risk change.

 The only issue I can see happening is if there are any members of
 implementation classes that are not serializable, but the majority of
 things are afaict.

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