A subclass of CCNVersionedOutputStream which writes its segments to a repository, using versioned names. More...
Public Member Functions | |
RepositoryVersionedOutputStream (ContentName name, CCNHandle handle) throws IOException | |
RepositoryVersionedOutputStream (ContentName name, PublisherPublicKeyDigest publisher, CCNHandle handle) throws IOException | |
RepositoryVersionedOutputStream (ContentName name, ContentKeys keys, CCNHandle handle) throws IOException | |
RepositoryVersionedOutputStream (ContentName name, KeyLocator locator, PublisherPublicKeyDigest publisher, ContentKeys keys, CCNHandle handle) throws IOException | |
RepositoryVersionedOutputStream (ContentName name, KeyLocator locator, PublisherPublicKeyDigest publisher, ContentType type, ContentKeys keys, CCNHandle handle) throws IOException | |
RepositoryVersionedOutputStream (ContentName name, CCNHandle handle, boolean local) throws IOException | |
RepositoryVersionedOutputStream (ContentName name, PublisherPublicKeyDigest publisher, CCNHandle handle, boolean local) throws IOException | |
RepositoryVersionedOutputStream (ContentName name, ContentKeys keys, CCNHandle handle, boolean local) throws IOException | |
RepositoryVersionedOutputStream (ContentName name, KeyLocator locator, PublisherPublicKeyDigest publisher, ContentKeys keys, CCNHandle handle, boolean local) throws IOException | |
RepositoryVersionedOutputStream (ContentName name, KeyLocator locator, PublisherPublicKeyDigest publisher, ContentType type, ContentKeys keys, CCNHandle handle, boolean local) throws IOException |
A subclass of CCNVersionedOutputStream which writes its segments to a repository, using versioned names.
If the specified name includes a version, it will write that specific version; otherwise it will add a version to the name of the stream it writes. If the constructor is called with the boolean local set to true, the stream will be written to the repository on the local device. If no repository is available, it will throw an exception.
Data written using this class can be read using a normal CCNVersionedInputStream; that class doesn't care whether its content comes from a repository or a cache (or a mix of the two).