Brunet.Services.Dht.Entry.Entry C# (CSharp) Method

Entry() public method

Creates a new Entry given the key, data, create time, and end time
public Entry ( MemBlock key, MemBlock data, System.DateTime create_time, System.DateTime end_time ) : System
key Brunet.Util.MemBlock The dht key used for indexing this data.
data Brunet.Util.MemBlock A single value stored at this key.
create_time System.DateTime The initial creation time for this key:value pair.
end_time System.DateTime The time the lease expires for this key:value pair.
return System
    public Entry(MemBlock key, MemBlock data, DateTime create_time,
      DateTime end_time) {
      this.Key = key;
      this.Value = data;
      this.CreateTime = create_time;
      this.EndTime = end_time;
    }

Same methods

Entry::Entry ( Hashtable ht ) : System