Digital Authentication Framework  6.0.1.37
Public Member Functions | List of all members
com.good.daf.DADevice Interface Reference

This is the interface to an authentication accessory device. More...

Inheritance diagram for com.good.daf.DADevice:
com.good.daf.class0.Class0Device com.good.daf.class1.Class1Device com.good.daf.class2.Class2Device com.good.daf.class3.Class3Device com.good.daf.class4.Class4Device

Public Member Functions

DAMetaData getInfo ()
 Get information about this instance. More...
 
DASession createSession (byte[] authToken) throws DAError
 Create a new session to make use of the device. More...
 

Detailed Description

This is the interface to an authentication accessory device.

Note this generally represents configured information about a hardware device. The device itself doesn't have to be connected at the time this object exists.

Member Function Documentation

DASession com.good.daf.DADevice.createSession ( byte[]  authToken) throws DAError

Create a new session to make use of the device.

This method will be called once per underlying native createSession call, and the result wrapped.

Parameters
authTokenthe auth token necessary to create a session
Returns
a implementor of the DASession interface. Must not be null.
Exceptions
DAErrorif a session cannot be created

Implemented in com.good.daf.class0.Class0Device, com.good.daf.class1.Class1Device, com.good.daf.class3.Class3Device, com.good.daf.class2.Class2Device, and com.good.daf.class4.Class4Device.

DAMetaData com.good.daf.DADevice.getInfo ( )

Get information about this instance.

This method will be called once shortly after construction and the result wrapped by the native translation layer.

This method is not allowed to fail except fatally (OutOfMemoryError, etc.)

Returns
the metadata object for this instance. Must not be null.

Implemented in com.good.daf.class0.Class0Device, com.good.daf.class1.Class1Device, com.good.daf.class3.Class3Device, com.good.daf.class2.Class2Device, and com.good.daf.class4.Class4Device.


The documentation for this interface was generated from the following file: