|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrfid.RFIDReader
Interface for an RFID tag reader.
Constructor Summary | |
RFIDReader(java.lang.String port)
Constructs an RFID reader with the name of a serial port (e.g. |
Method Summary | |
void |
addRFIDListener(RFIDListener listener)
Add a listener to be notified of RFID events. |
void |
hello()
Sends a reset to the reader and checks the returned packet to make sure that the reader is hooked up correctly. |
RFIDTag[] |
inventory()
Takes an inventory of all tags within range of the reader. |
void |
reset()
Resets the reader to its ready state. |
void |
run()
|
void |
stopScanner()
Tells the reader to stop polling the reader in a separate thread. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RFIDReader(java.lang.String port) throws RFIDException
Method Detail |
public void addRFIDListener(RFIDListener listener)
public void stopScanner()
public RFIDTag[] inventory() throws RFIDException
RFIDException
public void hello() throws RFIDException
RFIDException
public void reset() throws RFIDException
RFIDException
public void run()
run
in interface java.lang.Runnable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |