protected void resetLoginTimeCountdown() throws SocketException {
  if (this.loginTimeoutCountdown > 0) {
    long now=System.currentTimeMillis();
    this.loginTimeoutCountdown-=now - this.loginTimeoutCheckTimestamp;
    if (this.loginTimeoutCountdown <= 0) {
      throw new SocketException(Messages.getString("Connection.LoginTimeout"));
    }
    this.loginTimeoutCheckTimestamp=now;
  }
}

protected void resetLoginTimeCountdown ( ) throws SocketException { if ( this . loginTimeoutCountdown > 0 ) { long now = System . currentTimeMillis ( ) ; this . loginTimeoutCountdown -= now - this . loginTimeoutCheckTimestamp ; if ( this . loginTimeoutCountdown <= 0 ) { throw new SocketException ( Messages . getString ( "Connection.LoginTimeout" ) ) ; } this . loginTimeoutCheckTimestamp = now ; } }
decrements elapsed time since last reset from login timeout count down .
