public I2PLease(BufRef reader) { TunnelGw = new I2PIdentHash(reader); TunnelId = new I2PTunnelId(reader); EndDate = new I2PDate(reader); }
public I2PLease(I2PIdentHash tunnelgw, I2PTunnelId tunnelid) { TunnelGw = tunnelgw; TunnelId = tunnelid; EndDate = new I2PDate( DateTime.UtcNow + TimeSpan.FromSeconds(LeaseLifetime.ToSeconds)); }
public I2PLease(BufRef reader) { TunnelGw = new I2PIdentHash(reader); TunnelId = new I2PTunnelId(reader); EndDate = new I2PDate(reader); //DebugUtils.Log( "EndDate: " + EndDate.ToString() ); }
public I2PLease(I2PIdentHash tunnelgw, I2PTunnelId tunnelid, I2PDate enddate) { TunnelGw = tunnelgw; TunnelId = tunnelid; EndDate = enddate; }
public I2PTunnelId(I2PTunnelId src) { Id = src.Id; }