Class DirectoryThread
Package: io.keychain.util
public class DirectoryThread implements Runnable extends java.lang.Object
Description
The DirectoryThread
is a Runnable
that can be used in concert with the PairHelper
to create a polling interface to the Keychain-hosted sample Trusted Directory.
While this class has 3 public methods, only onStop()
should be called directly. The other two are called via Runnable#start()
. Treat this class like a Runnable
and everything is smooth.
As of v2.4, the refresh time is fixed at 11 seconds. In future versions this will be configurable. |
Since: v2.0
Public Constructors
Constructor |
---|
Creates a new |
Public Member Functions
Public Member Functions Detail
doContactSync
|
|
The main workhorse of |
run
|
|
As a |