Package i5.las2peer.persistency
Class EnvelopeArtifact
java.lang.Object
rice.p2p.past.ContentHashPastContent
i5.las2peer.persistency.AbstractArtifact
i5.las2peer.persistency.NetworkArtifact
i5.las2peer.persistency.EnvelopeArtifact
- All Implemented Interfaces:
Serializable,rice.p2p.past.PastContent
- See Also:
-
Field Summary
Fields inherited from class i5.las2peer.persistency.AbstractArtifact
content, MAX_SIZEFields inherited from class rice.p2p.past.ContentHashPastContent
myId -
Constructor Summary
ConstructorsConstructorDescriptionEnvelopeArtifact(rice.pastry.commonapi.PastryIdFactory idFactory, String identifier, int partIndex, byte[] rawPart, AgentImpl author) -
Method Summary
Modifier and TypeMethodDescriptionstatic rice.p2p.commonapi.Idrice.p2p.past.PastContentcheckInsert(rice.p2p.commonapi.Id id, rice.p2p.past.PastContent existingContent) booleanMethods inherited from class i5.las2peer.persistency.NetworkArtifact
getAuthorPublicKey, getPartIndex, hasSameAuthor, verifyMethods inherited from class i5.las2peer.persistency.AbstractArtifact
getContent, toStringMethods inherited from class rice.p2p.past.ContentHashPastContent
getHandle, getId
-
Constructor Details
-
EnvelopeArtifact
public EnvelopeArtifact(rice.pastry.commonapi.PastryIdFactory idFactory, String identifier, int partIndex, byte[] rawPart, AgentImpl author) throws CryptoException, VerificationFailedException, AgentLockedException
-
-
Method Details
-
checkInsert
public rice.p2p.past.PastContent checkInsert(rice.p2p.commonapi.Id id, rice.p2p.past.PastContent existingContent) throws rice.p2p.past.PastException - Specified by:
checkInsertin interfacerice.p2p.past.PastContent- Overrides:
checkInsertin classAbstractArtifact- Throws:
rice.p2p.past.PastException
-
isMutable
public boolean isMutable()- Specified by:
isMutablein interfacerice.p2p.past.PastContent- Overrides:
isMutablein classrice.p2p.past.ContentHashPastContent
-
buildId
public static rice.p2p.commonapi.Id buildId(rice.pastry.commonapi.PastryIdFactory idFactory, String identifier, int partIndex)
-