public abstract class AuthenticationModule extends Module
| Modifier and Type | Method and Description | 
|---|---|
| static int | connectFingerprintReaders(int numberExpected)Initialize the connection with a given number of fingerprint readers. | 
| static AuthenticationModule | deserialize(java.lang.String encodedModule)Create a new instance by deserializing an  AuthenticationModule. | 
| AccessType | getAccessType() | 
| abstract java.lang.String | getData()Deprecated. 
 Internal Usage. Should not be used by SDK users.  Wait for the module to provide the desired data. | 
| java.lang.String | getLastRecord() | 
| java.lang.String | getSerialNumber() | 
| static int | getTimeout(AccessType accessType)Deprecated. 
 Internal Usage. Should not be used by SDK users.  Provide the allowed delay for getting (synchronously) data from the module. | 
| boolean | isMaster() | 
| java.lang.String | serialize()Serialize the current instance as XML and encode it with base64. | 
public abstract java.lang.String getData()
                                  throws java.util.concurrent.TimeoutException
java.util.concurrent.TimeoutExceptionpublic java.lang.String getSerialNumber()
getSerialNumber in class Modulepublic boolean isMaster()
public AccessType getAccessType()
public java.lang.String getLastRecord()
FingerIndex name...).public static int getTimeout(AccessType accessType)
accessType - Type of the authentication module.public java.lang.String serialize()
public static AuthenticationModule deserialize(java.lang.String encodedModule)
AuthenticationModule.encodedModule - Serialized/encoded module.public static int connectFingerprintReaders(int numberExpected)
                                     throws FingerprintReaderException
numberExpected - Number of readers expected (=> to be found when initializing connections).FingerprintReaderException - If any error occurred during the initialization process.