org.asunder.dhtapi
Interface DHTCache

All Known Implementing Classes:
AsunderCache

public interface DHTCache

Author:
simms2k

Method Summary
 void loadContent(DHTContentKey contentKey, DHTContinuation cmd)
           
 void openContentStream(DHTContentKey contentKey, DHTContinuation cmd)
           
 void storeContent(DHTContent content, DHTContinuation cmd)
           
 boolean wantContent(DHTContentKey contentKey)
           
 

Method Detail

wantContent

boolean wantContent(DHTContentKey contentKey)

storeContent

void storeContent(DHTContent content,
                  DHTContinuation cmd)
                  throws DHTContentSignatureException,
                         DHTContentHashException
Throws:
DHTContentSignatureException
DHTContentHashException

loadContent

void loadContent(DHTContentKey contentKey,
                 DHTContinuation cmd)

openContentStream

void openContentStream(DHTContentKey contentKey,
                       DHTContinuation cmd)