A CCNNetworkObject wrapper around KeyValueSet, used for easily saving and retrieving versioned KeyValueSets to CCN. More...
Public Member Functions | |
KeyValueSetObject (ContentName name, KeyValueSet data, SaveType saveType, CCNHandle handle) throws IOException | |
KeyValueSetObject (ContentName name, KeyValueSet data, SaveType saveType, PublisherPublicKeyDigest publisher, KeyLocator locator, CCNHandle handle) throws IOException | |
KeyValueSetObject (ContentName name, CCNHandle handle) throws ContentDecodingException, IOException | |
KeyValueSetObject (ContentName name, PublisherPublicKeyDigest publisher, CCNHandle handle) throws ContentDecodingException, IOException | |
KeyValueSetObject (ContentObject firstBlock, CCNHandle handle) throws ContentDecodingException, IOException | |
KeyValueSet | contents () throws ContentNotReadyException, ContentGoneException, ErrorStateException |
A CCNNetworkObject wrapper around KeyValueSet, used for easily saving and retrieving versioned KeyValueSets to CCN.
A typical pattern for using network objects to save objects that happen to be encodable or serializable is to incorporate such a static member wrapper class subclassing CCNEncodableObject, CCNSerializableObject, or CCNNetworkObject itself inside the main class definition.