Add serialization to the Callout class
Adding serialize() and deserialize() APIs to the callout
class to save and restore the class data persistently.
The APIs take the directory to store the files in, and the
filename itself will be the ID, which is the callout number.
For example, a path could be:
/var/lib/ibm-logging/errors/5/callouts/0.
Tested: Passes the testcases in future commit.
Change-Id: I526f6483df71dbceac3a33f7ce8872f6914bcd9d
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
3 files changed