Inherits org::ccnx::ccn::io::content::CCNEncodableObject< org::ccnx::ccn::io::content::Link >.
Public Member Functions | |
LinkObject (ContentName name, Link data, SaveType saveType, CCNHandle handle) throws IOException | |
LinkObject (ContentName name, Link data, SaveType saveType, PublisherPublicKeyDigest publisher, KeyLocator keyLocator, CCNHandle handle) throws IOException | |
LinkObject (ContentName name, CCNHandle handle) throws ContentDecodingException, IOException | |
LinkObject (ContentName name, PublisherPublicKeyDigest publisher, CCNHandle handle) throws ContentDecodingException, IOException | |
LinkObject (ContentObject firstBlock, CCNHandle handle) throws ContentDecodingException, IOException | |
LinkObject (ContentName name, PublisherPublicKeyDigest publisher, CCNFlowControl flowControl) throws ContentDecodingException, IOException | |
LinkObject (ContentObject firstBlock, CCNFlowControl flowControl) throws ContentDecodingException, IOException | |
LinkObject (ContentName name, Link data, PublisherPublicKeyDigest publisher, KeyLocator keyLocator, CCNFlowControl flowControl) throws IOException | |
LinkObject (CCNEncodableObject<?extends Link > other) | |
ContentType | contentType () |
Subclasses that need to write an object of a particular type can override. | |
ContentName | getTargetName () throws ContentGoneException, ContentNotReadyException, ErrorStateException |
LinkAuthenticator | getTargetAuthenticator () throws ContentNotReadyException, ContentGoneException, ErrorStateException |
Link | link () throws ContentNotReadyException, ContentGoneException, ErrorStateException |
ContentObject | dereference (long timeout) throws IOException |
Protected Member Functions | |
EnumSet< FlagTypes > | getInputStreamFlags () |
Modify the properties of the input streams we read to read links themselves, rather than dereferencing them and causing an infinite loop; must modify in constructor to handle passed in content objects. |
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.
ContentType org.ccnx.ccn.io.content.Link.LinkObject.contentType | ( | ) |
Subclasses that need to write an object of a particular type can override.
EnumSet<FlagTypes> org.ccnx.ccn.io.content.Link.LinkObject.getInputStreamFlags | ( | ) | [protected] |
Modify the properties of the input streams we read to read links themselves, rather than dereferencing them and causing an infinite loop; must modify in constructor to handle passed in content objects.