org.gudy.azureus2.pluginsimpl.local.ddb
Class DDBaseImpl.dbEvent

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.ddb.DDBaseImpl.dbEvent
All Implemented Interfaces:
DistributedDatabaseEvent
Enclosing class:
DDBaseImpl

protected class DDBaseImpl.dbEvent
extends Object
implements DistributedDatabaseEvent


Field Summary
 
Fields inherited from interface org.gudy.azureus2.plugins.ddb.DistributedDatabaseEvent
ET_KEY_STATS_READ, ET_LOCAL_CONTACT_CHANGED, ET_OPERATION_COMPLETE, ET_OPERATION_STARTS, ET_OPERATION_TIMEOUT, ET_VALUE_DELETED, ET_VALUE_READ, ET_VALUE_WRITTEN
 
Constructor Summary
protected DDBaseImpl.dbEvent(int _type)
           
protected DDBaseImpl.dbEvent(int _type, DistributedDatabaseKey _key)
           
protected DDBaseImpl.dbEvent(int _type, DistributedDatabaseKey _key, DHTPluginContact _contact, byte[] _value, long _ct, long _v)
           
protected DDBaseImpl.dbEvent(int _type, DistributedDatabaseKey _key, DHTPluginContact _contact, DHTPluginValue _value)
           
protected DDBaseImpl.dbEvent(int _type, DistributedDatabaseKey _key, DHTPluginContact _contact, DistributedDatabaseKeyStats _key_stats)
           
 
Method Summary
 DistributedDatabaseContact getContact()
           
 DistributedDatabaseKey getKey()
           
 DistributedDatabaseKeyStats getKeyStats()
           
 int getType()
           
 DistributedDatabaseValue getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDBaseImpl.dbEvent

protected DDBaseImpl.dbEvent(int _type)

DDBaseImpl.dbEvent

protected DDBaseImpl.dbEvent(int _type,
                             DistributedDatabaseKey _key)

DDBaseImpl.dbEvent

protected DDBaseImpl.dbEvent(int _type,
                             DistributedDatabaseKey _key,
                             DHTPluginContact _contact,
                             DHTPluginValue _value)

DDBaseImpl.dbEvent

protected DDBaseImpl.dbEvent(int _type,
                             DistributedDatabaseKey _key,
                             DHTPluginContact _contact,
                             DistributedDatabaseKeyStats _key_stats)

DDBaseImpl.dbEvent

protected DDBaseImpl.dbEvent(int _type,
                             DistributedDatabaseKey _key,
                             DHTPluginContact _contact,
                             byte[] _value,
                             long _ct,
                             long _v)
Method Detail

getType

public int getType()
Specified by:
getType in interface DistributedDatabaseEvent

getKey

public DistributedDatabaseKey getKey()
Specified by:
getKey in interface DistributedDatabaseEvent

getKeyStats

public DistributedDatabaseKeyStats getKeyStats()
Specified by:
getKeyStats in interface DistributedDatabaseEvent

getValue

public DistributedDatabaseValue getValue()
Specified by:
getValue in interface DistributedDatabaseEvent

getContact

public DistributedDatabaseContact getContact()
Specified by:
getContact in interface DistributedDatabaseEvent