Package i5.las2peer.persistency
Class MetadataArtifact
java.lang.Object
rice.p2p.past.ContentHashPastContent
i5.las2peer.persistency.AbstractArtifact
i5.las2peer.persistency.NetworkArtifact
i5.las2peer.persistency.MetadataArtifact
- All Implemented Interfaces:
Serializable
,rice.p2p.past.PastContent
- See Also:
-
Field Summary
Fields inherited from class i5.las2peer.persistency.AbstractArtifact
content, MAX_SIZE
Fields inherited from class rice.p2p.past.ContentHashPastContent
myId
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataArtifact
(rice.pastry.commonapi.PastryIdFactory idFactory, String identifier, long version, byte[] serialize, AgentImpl author) -
Method Summary
Modifier and TypeMethodDescriptionstatic rice.p2p.commonapi.Id
buildMetadataId
(rice.pastry.commonapi.PastryIdFactory idFactory, String identifier, long version) static String
getMetadataIdentifier
(String identifier, long version) Methods inherited from class i5.las2peer.persistency.NetworkArtifact
getAuthorPublicKey, getPartIndex, hasSameAuthor, verify
Methods inherited from class i5.las2peer.persistency.AbstractArtifact
checkInsert, getContent, toString
Methods inherited from class rice.p2p.past.ContentHashPastContent
getHandle, getId, isMutable
-
Constructor Details
-
MetadataArtifact
public MetadataArtifact(rice.pastry.commonapi.PastryIdFactory idFactory, String identifier, long version, byte[] serialize, AgentImpl author) throws CryptoException, VerificationFailedException, AgentLockedException
-
-
Method Details
-
buildMetadataId
public static rice.p2p.commonapi.Id buildMetadataId(rice.pastry.commonapi.PastryIdFactory idFactory, String identifier, long version) -
getMetadataIdentifier
-