demos.samples
Class InsertCard
java.lang.Object
|
+--demos.samples.InsertCard
- public class InsertCard
- extends java.lang.Object
- implements CTListener
A sample demonstrating the notification mechanism when a card is
being inserted. If there is already a card inserted when this application
is started is has to re-inserted to cause an event to be generated.
- Version:
- $Id: InsertCard.java,v 1.1 1999/12/03 09:34:41 damke Exp $
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
InsertCard
public InsertCard()
main
public static void main(java.lang.String[] args)
throws java.lang.InterruptedException
cardInserted
public void cardInserted(CardTerminalEvent ctEvent)
- Gets invoked when a card is inserted.
- Specified by:
- cardInserted in interface CTListener
cardRemoved
public void cardRemoved(CardTerminalEvent ctEvent)
- Gets invoked when a card is removed. Is ignored in this case as we are
interested in getting events only when a card is being inserted.
- Specified by:
- cardRemoved in interface CTListener
|