com.aelitis.azureus.plugins.dht.impl
Class DHTPluginStorageManager.keyBlock

java.lang.Object
  extended by com.aelitis.azureus.plugins.dht.impl.DHTPluginStorageManager.keyBlock
All Implemented Interfaces:
DHTStorageBlock
Enclosing class:
DHTPluginStorageManager

protected static class DHTPluginStorageManager.keyBlock
extends java.lang.Object
implements DHTStorageBlock


Constructor Summary
protected DHTPluginStorageManager.keyBlock(byte[] _request, byte[] _cert, int _received, boolean _direct)
           
 
Method Summary
 byte[] getCertificate()
           
protected  int getCreated()
           
 byte[] getKey()
           
protected  boolean getLogged()
           
protected  int getReceived()
           
 byte[] getRequest()
           
 boolean hasBeenSentTo(DHTTransportContact contact)
           
protected  boolean isAdd()
           
protected  boolean isDirect()
           
 void sentTo(DHTTransportContact contact)
           
protected  void setLogged()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DHTPluginStorageManager.keyBlock

protected DHTPluginStorageManager.keyBlock(byte[] _request,
                                           byte[] _cert,
                                           int _received,
                                           boolean _direct)
Method Detail

getRequest

public byte[] getRequest()
Specified by:
getRequest in interface DHTStorageBlock

getCertificate

public byte[] getCertificate()
Specified by:
getCertificate in interface DHTStorageBlock

getKey

public byte[] getKey()
Specified by:
getKey in interface DHTStorageBlock

isAdd

protected boolean isAdd()

getLogged

protected boolean getLogged()

setLogged

protected void setLogged()

getCreated

protected int getCreated()

getReceived

protected int getReceived()

isDirect

protected boolean isDirect()

hasBeenSentTo

public boolean hasBeenSentTo(DHTTransportContact contact)
Specified by:
hasBeenSentTo in interface DHTStorageBlock

sentTo

public void sentTo(DHTTransportContact contact)
Specified by:
sentTo in interface DHTStorageBlock