Examples of lastUsedTime()


Examples of freenet.crypt.KeyAgreementSchemeContext.lastUsedTime()

    KeyAgreementSchemeContext c = null;
    synchronized(this) {
      c = ctx;
    }
    if(c != null && logDEBUG)
      Logger.minor(this, "Last used (handshake): " + (now - c.lastUsedTime()));
    return !((c == null) || (now - c.lastUsedTime() > Node.HANDSHAKE_TIMEOUT));
  }
  boolean firstHandshake = true;

  /**
 
View Full Code Here

Examples of freenet.crypt.KeyAgreementSchemeContext.lastUsedTime()

    synchronized(this) {
      c = ctx;
    }
    if(c != null && logDEBUG)
      Logger.minor(this, "Last used (handshake): " + (now - c.lastUsedTime()));
    return !((c == null) || (now - c.lastUsedTime() > Node.HANDSHAKE_TIMEOUT));
  }
  boolean firstHandshake = true;

  /**
   * Set sendHandshakeTime, and return whether to fetch the ARK.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.