14.12.2012 Views

OpenCard Framework 1.2 Programmer's Guide - OpenSCDP

OpenCard Framework 1.2 Programmer's Guide - OpenSCDP

OpenCard Framework 1.2 Programmer's Guide - OpenSCDP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CardTerminalRegistry object keeps track of the installed card readers — as<br />

illustrated in Figure 2.<br />

Figure 2. Classes of the CardTerminal package. OCF represents a real card terminal through<br />

the instances of the CardTerminal class with its slots. With OCF, both static and dynamic<br />

configurations are possible.<br />

Furthermore, the CardTerminalRegistry object offers methods to register and<br />

unregister CardTerminal objects, and to enumerate all installed card terminals.<br />

The CardTerminal classes generate events and notify the rest of the framework<br />

when a smart card is inserted into or removed from a card terminal<br />

(CardTerminal). These events are passed on to the EventGenerator by the<br />

CardTerminalRegistry (see Figure 3 on page 14).<br />

Chapter 3. OCF architectural concepts 13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!