[kea-dev] how to unparse token

Francis Dupont fdupont at isc.org
Thu Nov 26 14:46:35 UTC 2015


Tomek Mrugalski writes:
> Why is this needed at all? For debugging purposes?

=> yes and also for unit tests (i.e. for the second for the same
reason we have getCode() method in TokenOption). IMHO this should
stay minimal so without adding a member (vs a method) to all Token
objects (methods are only in a per class internal table so the
memory overhead is static).

Regards

Francis Dupont <fdupont at isc.org>


More information about the kea-dev mailing list