com.aelitis.azureus.core.dht.db.impl
Class DHTDBImpl.SurveyContactState

java.lang.Object
  extended by com.aelitis.azureus.core.dht.db.impl.DHTDBImpl.SurveyContactState
Enclosing class:
DHTDBImpl

protected static class DHTDBImpl.SurveyContactState
extends Object


Constructor Summary
protected DHTDBImpl.SurveyContactState(DHTTransportContact c)
           
 
Method Summary
protected  void addMapping(DHTDBMapping mapping)
           
protected  void contactFailed()
           
protected  void contactOK()
           
protected  int getConsecFails()
           
protected  DHTTransportContact getContact()
           
protected  long getCreationTime()
           
protected  long getLastUseTime()
           
protected  Set<DHTDBMapping> getMappings()
           
protected  void log(String str)
           
protected  void removeMapping(DHTDBMapping mapping)
           
protected  boolean testMapping(DHTDBMapping mapping)
           
protected  boolean timeout(long now)
           
protected  void updateContactDetails(DHTTransportContact c)
           
protected  void updateUseTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DHTDBImpl.SurveyContactState

protected DHTDBImpl.SurveyContactState(DHTTransportContact c)
Method Detail

timeout

protected boolean timeout(long now)

getContact

protected DHTTransportContact getContact()

getCreationTime

protected long getCreationTime()

updateContactDetails

protected void updateContactDetails(DHTTransportContact c)

updateUseTime

protected void updateUseTime()

getLastUseTime

protected long getLastUseTime()

contactOK

protected void contactOK()

contactFailed

protected void contactFailed()

getConsecFails

protected int getConsecFails()

testMapping

protected boolean testMapping(DHTDBMapping mapping)

getMappings

protected Set<DHTDBMapping> getMappings()

addMapping

protected void addMapping(DHTDBMapping mapping)

removeMapping

protected void removeMapping(DHTDBMapping mapping)

log

protected void log(String str)