Digital Authentication Framework 4.2.0.30
Public Member Functions | Package Functions

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

List of all members.

Public Member Functions

DASession createSession (byte[] authToken) throws DAError
 Create a new session to make use of the device.

Package Functions

DAMetaData getInfo ()
 Get information about this instance.

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.class2.Class2Device, com.good.daf.class3.Class3Device, and com.good.daf.class4.Class4Device.

DAMetaData com.good.daf.DADevice.getInfo ( ) [package]

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.class2.Class2Device, com.good.daf.class3.Class3Device, and com.good.daf.class4.Class4Device.


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