Inherits org::ccnx::ccn::io::content::CCNEncodableObject< org::ccnx::ccn::io::content::Header >.
Public Member Functions | |
HeaderObject (ContentName name, Header data, SaveType saveType, CCNHandle handle) throws IOException | |
HeaderObject (ContentName name, Header data, SaveType saveType, PublisherPublicKeyDigest publisher, KeyLocator keyLocator, CCNHandle handle) throws IOException | |
HeaderObject (ContentName name, Header data, PublisherPublicKeyDigest publisher, KeyLocator keyLocator, CCNFlowControl flowControl) throws ContentDecodingException, IOException | |
HeaderObject (ContentName name, CCNHandle handle) throws ContentDecodingException, IOException | |
HeaderObject (ContentName name, PublisherPublicKeyDigest publisher, CCNHandle handle) throws ContentDecodingException, IOException | |
HeaderObject (ContentObject firstBlock, CCNHandle handle) throws ContentDecodingException, IOException | |
long | start () throws ContentGoneException, ContentNotReadyException, ErrorStateException |
long | count () throws ContentGoneException, ContentNotReadyException, ErrorStateException |
int | blockSize () throws ContentGoneException, ContentNotReadyException, ErrorStateException |
long | length () throws ContentGoneException, ContentNotReadyException, ErrorStateException |
byte[] | rootDigest () throws ContentGoneException, ContentNotReadyException, ErrorStateException |
byte[] | contentDigest () throws ContentGoneException, ContentNotReadyException, ErrorStateException |
SegmentationType | type () throws ContentGoneException, ContentNotReadyException, ErrorStateException |
String | typeName () throws ContentNotReadyException, ContentGoneException, ErrorStateException |
int[] | positionToSegmentLocation (long position) throws ContentNotReadyException, ContentGoneException, ErrorStateException |
long | segmentLocationToPosition (long block, int offset) throws ContentNotReadyException, ContentGoneException, ErrorStateException |
int | segmentCount () throws ContentNotReadyException, ContentGoneException, ErrorStateException |
int | segmentRemainder () throws ContentNotReadyException, ContentGoneException, ErrorStateException |
Header | header () throws ContentNotReadyException, ContentGoneException, ErrorStateException |
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.