Package de.cardcontact.cli
Class CardUpdaterDaemon
- java.lang.Object
-
- de.cardcontact.cli.CardConnectorDaemon
-
- de.cardcontact.cli.CardUpdaterDaemon
-
- All Implemented Interfaces:
RemoteNotificationListener,java.lang.Runnable,java.util.EventListener,CTListener
public class CardUpdaterDaemon extends CardConnectorDaemon implements CTListener
Daemon accepting requests from the local browser to initiate card update sessions with remote server- Author:
- asc
-
-
Constructor Summary
Constructors Constructor Description CardUpdaterDaemon(CardUpdaterLog logger, ReaderConfigurationModel readerConfig, URLVerifier urlVerifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcardInserted(CardTerminalEvent ctEvent)Signal that smart card was inserted.voidcloseCard()voidrun()voidsetAutoConnect(boolean ac)voidstop()-
Methods inherited from class de.cardcontact.cli.CardConnectorDaemon
cardRemoved, log, remoteNotify, setEnsurePIN, setID, setPIN, setSession, setURL
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface opencard.core.event.CTListener
cardRemoved
-
-
-
-
Constructor Detail
-
CardUpdaterDaemon
public CardUpdaterDaemon(CardUpdaterLog logger, ReaderConfigurationModel readerConfig, URLVerifier urlVerifier) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
setAutoConnect
public void setAutoConnect(boolean ac)
-
stop
public void stop()
-
cardInserted
public void cardInserted(CardTerminalEvent ctEvent) throws CardTerminalException
Description copied from interface:CTListenerSignal that smart card was inserted.- Specified by:
cardInsertedin interfaceCTListener- Overrides:
cardInsertedin classCardConnectorDaemon- Throws:
CardTerminalException
-
closeCard
public void closeCard()
- Overrides:
closeCardin classCardConnectorDaemon
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable- Overrides:
runin classCardConnectorDaemon
-
-