org.asunder.content
Class AsunderContent

java.lang.Object
  extended by org.asunder.content.AsunderContent
All Implemented Interfaces:
java.io.Serializable, DHTContent
Direct Known Subclasses:
CHKContent, SSCHKContent, SSKKContent

public abstract class AsunderContent
extends java.lang.Object
implements DHTContent

Author:
simms2k
See Also:
Serialized Form

Constructor Summary
AsunderContent(byte[] data)
          Creates a new instance of AsunderContent
 
Method Summary
 byte[] encodeContent()
           
 int getContentLength()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.asunder.dhtapi.DHTContent
getContentKey, permitsOverwrite
 

Constructor Detail

AsunderContent

public AsunderContent(byte[] data)
Creates a new instance of AsunderContent

Method Detail

encodeContent

public byte[] encodeContent()
Specified by:
encodeContent in interface DHTContent

getContentLength

public int getContentLength()
Specified by:
getContentLength in interface DHTContent