C# Class Brunet.Services.Dht.RpcDhtProxy.Entry

This class keeps Entry, whose element is key, value, ttl, and brunet timer. Each instance has its own timer, so we don't need to order or track each proxy entry to notice the oldest entry. Each timer initiates ttl expiration. While ttl expiration, it calls EntryCallback.
Datei anzeigen Open project: pstjuste/brunet

Public Properties

Property Type Description
Key MemBlock
Timer SimpleTimer
Ttl int
Value MemBlock
Working bool

Public Methods

Method Description
Entry ( MemBlock key, MemBlock value, int ttl ) : System

Method Details

Entry() public method

public Entry ( MemBlock key, MemBlock value, int ttl ) : System
key MemBlock
value MemBlock
ttl int
return System

Property Details

Key public_oe property

public MemBlock Key
return MemBlock

Timer public_oe property

public SimpleTimer Timer
return SimpleTimer

Ttl public_oe property

public int Ttl
return int

Value public_oe property

public MemBlock Value
return MemBlock

Working public_oe property

public bool Working
return bool