LimeWire Consolidated API

org.limewire.security
Interface SettingsProvider

All Known Implementing Classes:
MacCalculatorSettingsProviderImpl

public interface SettingsProvider

Defines the interface to provide settings for the AddressSecurityToken class. A rule of thumb is to ensure the change period is longer than the grace period when you implement this interface.

A typical use case for SettingsProvider is to coordinate when to create a new MACCalculator.


Method Summary
 long getChangePeriod()
          Time in milliseconds
 long getGracePeriod()
          Time in milliseconds
 

Method Detail

getChangePeriod

long getChangePeriod()
Time in milliseconds


getGracePeriod

long getGracePeriod()
Time in milliseconds


LimeWire Consolidated API

Copyright © 2009. All Rights Reserved.