A subclass of CCNOutputStream which writes its segments to a repository. More...
Public Member Functions | |
RepositoryOutputStream (ContentName name, CCNHandle handle) throws IOException | |
RepositoryOutputStream (ContentName name, PublisherPublicKeyDigest publisher, CCNHandle handle) throws IOException | |
RepositoryOutputStream (ContentName name, KeyLocator locator, PublisherPublicKeyDigest publisher, CCNHandle handle) throws IOException | |
RepositoryOutputStream (ContentName name, ContentKeys keys, CCNHandle handle) throws IOException | |
RepositoryOutputStream (ContentName name, KeyLocator locator, PublisherPublicKeyDigest publisher, ContentKeys keys, CCNHandle handle) throws IOException | |
RepositoryOutputStream (ContentName name, KeyLocator locator, PublisherPublicKeyDigest publisher, ContentType type, ContentKeys keys, CCNHandle handle) throws IOException | |
RepositoryOutputStream (ContentName name, CCNHandle handle, boolean local) throws IOException | |
RepositoryOutputStream (ContentName name, PublisherPublicKeyDigest publisher, CCNHandle handle, boolean local) throws IOException | |
RepositoryOutputStream (ContentName name, KeyLocator locator, PublisherPublicKeyDigest publisher, CCNHandle handle, boolean local) throws IOException | |
RepositoryOutputStream (ContentName name, ContentKeys keys, CCNHandle handle, boolean local) throws IOException | |
RepositoryOutputStream (ContentName name, KeyLocator locator, PublisherPublicKeyDigest publisher, ContentKeys keys, CCNHandle handle, boolean local) throws IOException | |
RepositoryOutputStream (ContentName name, KeyLocator locator, PublisherPublicKeyDigest publisher, ContentType type, ContentKeys keys, CCNHandle handle, boolean local) throws IOException |
A subclass of CCNOutputStream which writes its segments to a repository.
If the constructor is called with local set to true, the output stream will write to a 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 CCNInputStream; that class doesn't care whether its content comes from a repository or a cache (or a mix of the two).