Inherits org::ccnx::ccn::io::content::CCNSerializableObject< String >.
Public Member Functions | |
CCNSerializableStringObject (ContentName name, String data, SaveType saveType, CCNHandle handle) throws IOException | |
CCNSerializableStringObject (ContentName name, String data, SaveType saveType, PublisherPublicKeyDigest publisher, KeyLocator locator, CCNHandle handle) throws IOException | |
CCNSerializableStringObject (ContentName name, CCNHandle handle) throws ContentDecodingException, IOException | |
CCNSerializableStringObject (ContentName name, PublisherPublicKeyDigest publisher, CCNHandle handle) throws ContentDecodingException, IOException | |
CCNSerializableStringObject (ContentObject firstBlock, CCNHandle handle) throws ContentDecodingException, IOException | |
CCNSerializableStringObject (ContentName name, String data, PublisherPublicKeyDigest publisher, KeyLocator locator, CCNFlowControl flowControl) throws IOException | |
Internal constructor used by low-level network operations. | |
CCNSerializableStringObject (ContentName name, PublisherPublicKeyDigest publisher, CCNFlowControl flowControl) throws ContentDecodingException, IOException | |
Internal constructor used by low-level network operations. | |
CCNSerializableStringObject (ContentObject firstSegment, CCNFlowControl flowControl) throws ContentDecodingException, IOException | |
Internal constructor used by low-level network operations. | |
String | string () throws ContentNotReadyException, ContentGoneException, ErrorStateException |
Allows reading and writing of versioned strings to CCN, and background updating of same. Very useful class for writing simple tests and applications, but requires both communicating partners to speak Java Serialization. See CCNStringObject for a more generally useful string object that serializes the string in pure UTF-8, making something that can be more easily read from other languages.
org.ccnx.ccn.test.io.content.CCNSerializableStringObject.CCNSerializableStringObject | ( | ContentName | name, | |
String | data, | |||
PublisherPublicKeyDigest | publisher, | |||
KeyLocator | locator, | |||
CCNFlowControl | flowControl | |||
) | throws IOException |
Internal constructor used by low-level network operations.
Don't use unless you know what you are doing.
name | name under which to save data | |
data | data to save when save() is called; or null if the next call will be updateInBackground() | |
publisher | key (identity) to use to sign the content (null for default) | |
locator | key locator to use to tell people where to find our key, should match publisher, (null for default for key) | |
flowControl | flow controller to use for network output |
IOException |
org.ccnx.ccn.test.io.content.CCNSerializableStringObject.CCNSerializableStringObject | ( | ContentName | name, | |
PublisherPublicKeyDigest | publisher, | |||
CCNFlowControl | flowControl | |||
) | throws ContentDecodingException, IOException |
Internal constructor used by low-level network operations.
Don't use unless you know what you are doing.
name | name under which to save data | |
data | data to save when save() is called; or null if the next call will be updateInBackground() | |
publisher | key (identity) to use to sign the content (null for default) | |
locator | key locator to use to tell people where to find our key, should match publisher, (null for default for key) | |
flowControl | flow controller to use for network output |
IOException |
org.ccnx.ccn.test.io.content.CCNSerializableStringObject.CCNSerializableStringObject | ( | ContentObject | firstSegment, | |
CCNFlowControl | flowControl | |||
) | throws ContentDecodingException, IOException |
Internal constructor used by low-level network operations.
Don't use unless you know what you are doing.
name | name under which to save data | |
data | data to save when save() is called; or null if the next call will be updateInBackground() | |
publisher | key (identity) to use to sign the content (null for default) | |
locator | key locator to use to tell people where to find our key, should match publisher, (null for default for key) | |
flowControl | flow controller to use for network output |
IOException |