Class AbstractArtifact

java.lang.Object
rice.p2p.past.ContentHashPastContent
i5.las2peer.persistency.AbstractArtifact
All Implemented Interfaces:
java.io.Serializable, rice.p2p.past.PastContent
Direct Known Subclasses:
HashedArtifact, NetworkArtifact

public abstract class AbstractArtifact
extends rice.p2p.past.ContentHashPastContent
See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected byte[] content  
    static int MAX_SIZE  

    Fields inherited from class rice.p2p.past.ContentHashPastContent

    myId
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected AbstractArtifact​(rice.p2p.commonapi.Id id, byte[] content)  
  • Method Summary

    Modifier and Type Method Description
    rice.p2p.past.PastContent checkInsert​(rice.p2p.commonapi.Id id, rice.p2p.past.PastContent existingContent)  
    byte[] getContent()  
    java.lang.String toString()  
    void verify()  

    Methods inherited from class rice.p2p.past.ContentHashPastContent

    getHandle, getId, isMutable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait