Beispiel #1
0
        public I2PLease(BufRef reader)
        {
            TunnelGw = new I2PIdentHash(reader);
            TunnelId = new I2PTunnelId(reader);

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

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