|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fosstrak.hal.Trigger
public final class Trigger
A trigger in the HAL is used to trigger identify commands of the reader hardware while a HAL controller instance is performing an asynchronous identify. Different trigger types exists: CONTINUOUS - continuous identify commands are performed TIMER - identify commands are performed at certain time intervals
| Field Summary | |
|---|---|
static int |
CONTINUOUS
CONTINUOUS Trigger |
static int |
TIMER
TIMER Trigger |
| Method Summary | |
|---|---|
static Trigger |
createContinuousTrigger()
creates a TIMER trigger. |
static Trigger |
createTimerTrigger(long interval)
creates a TIMER trigger. |
long |
getInteral()
Returns the time interval. |
int |
getType()
Gets the type of the trigger. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CONTINUOUS
public static final int TIMER
| Method Detail |
|---|
public static Trigger createTimerTrigger(long interval)
interval - the time interval for the TIMER trigger in milliseconds
public static Trigger createContinuousTrigger()
public int getType()
public long getInteral()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||