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 void
cardInserted(CardTerminalEvent ctEvent)
Signal that smart card was inserted.void
closeCard()
void
run()
void
setAutoConnect(boolean ac)
void
stop()
-
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:CTListener
Signal that smart card was inserted.- Specified by:
cardInserted
in interfaceCTListener
- Overrides:
cardInserted
in classCardConnectorDaemon
- Throws:
CardTerminalException
-
closeCard
public void closeCard()
- Overrides:
closeCard
in classCardConnectorDaemon
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classCardConnectorDaemon
-
-