org.ccnx.ccn.io.content.Collection.CollectionObject Class Reference

A CCNNetworkObject wrapper around Collection, used for easily saving and retrieving versioned Collections to CCN. More...

List of all members.

Public Member Functions

 CollectionObject (ContentName name, Collection data, SaveType saveType, CCNHandle handle) throws IOException
 CollectionObject (ContentName name, java.util.Collection< Link > contents, SaveType saveType, CCNHandle handle) throws IOException
 CollectionObject (ContentName name, Link[] contents, SaveType saveType, CCNHandle handle) throws IOException
 CollectionObject (ContentName name, Collection data, SaveType saveType, PublisherPublicKeyDigest publisher, KeyLocator keyLocator, CCNHandle handle) throws IOException
 CollectionObject (ContentName name, java.util.Collection< Link > contents, SaveType saveType, PublisherPublicKeyDigest publisher, KeyLocator keyLocator, CCNHandle handle) throws IOException
 CollectionObject (ContentName name, Link[] contents, SaveType saveType, PublisherPublicKeyDigest publisher, KeyLocator keyLocator, CCNHandle handle) throws IOException
 CollectionObject (ContentName name, PublisherPublicKeyDigest publisher, CCNHandle handle) throws ContentDecodingException, IOException
 CollectionObject (ContentObject firstBlock, CCNHandle handle) throws ContentDecodingException, IOException
 CollectionObject (ContentName name, CCNHandle handle) throws ContentDecodingException, IOException
 CollectionObject (ContentName name, Collection data, PublisherPublicKeyDigest publisher, KeyLocator keyLocator, CCNFlowControl flowControl) throws IOException
 CollectionObject (ContentName name, PublisherPublicKeyDigest publisher, CCNFlowControl flowControl) throws ContentDecodingException, IOException
 CollectionObject (ContentObject firstBlock, CCNFlowControl flowControl) throws ContentDecodingException, IOException
Collection collection () throws ContentNotReadyException, ContentGoneException, ErrorStateException
LinkedList< Linkcontents () throws ContentNotReadyException, ContentGoneException, ErrorStateException

Detailed Description

A CCNNetworkObject wrapper around Collection, used for easily saving and retrieving versioned Collections 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.


The documentation for this class was generated from the following file:
Generated on Fri May 13 16:27:45 2011 for Content-Centric Networking in Java by  doxygen 1.6.3