Пример #1
0
        public I2PLease(BufRef reader)
        {
            TunnelGw = new I2PIdentHash(reader);
            TunnelId = new I2PTunnelId(reader);

            EndDate = new I2PDate(reader);
        }
Пример #2
0
 public I2PLease(I2PIdentHash tunnelgw, I2PTunnelId tunnelid)
 {
     TunnelGw = tunnelgw;
     TunnelId = tunnelid;
     EndDate  = new I2PDate(
         DateTime.UtcNow
         + TimeSpan.FromSeconds(LeaseLifetime.ToSeconds));
 }
Пример #3
0
        public I2PLease(BufRef reader)
        {
            TunnelGw = new I2PIdentHash(reader);
            TunnelId = new I2PTunnelId(reader);

            EndDate = new I2PDate(reader);
            //DebugUtils.Log( "EndDate: " + EndDate.ToString() );
        }
Пример #4
0
 public I2PLease(I2PIdentHash tunnelgw, I2PTunnelId tunnelid, I2PDate enddate)
 {
     TunnelGw = tunnelgw;
     TunnelId = tunnelid;
     EndDate  = enddate;
 }
Пример #5
0
 public I2PTunnelId(I2PTunnelId src)
 {
     Id = src.Id;
 }