Tom, thank you for the hint, indeed the example is not up to date. Please use "getSmartCard(CardTerminalEvent, CardRequest)". Best regards, Thomas Thomas Schaeck Pervasive Computing Division - Extended e-business Solutions, EMEA Phone: +49-(0)7031-16-3479 Mobile: +49-(0)171-6928407 e-mail: [EMAIL PROTECTED] Fax: +49-(0)7031-16-4888 Address: IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen, Germany "Tom McKearney" <[EMAIL PROTECTED]> on 03.05.2000 21:29:21 Please respond to "Tom McKearney" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: (bcc: Thomas Schaeck/Germany/IBM) Subject: [OCF] documentation conflict in OCF 1.2 in this section: http://www.opencard.org/docs/pguide/PGuide.html#HDRGETTINGASMARTCARDVIAEVENT NOT the documentation has sample code for event notification. It has: public void cardInserted(CardTerminalEvent event) { if (smartcard == null) { try { smartcard = SmartCard.getSmartCard(event); terminal = event.getCardTerminal(); slotID = event.getSlotID(); } catch OpenCard Exceptions { // handle error... } } } But, in the documentation for SmartCard, it states: "getSmartCard(CardTerminalEvent ctEvent) Deprecated. use getSmartCard(CardTerminalEvent, CardRequest)" Is there an updated version of the documentation somewhere? Or, can someone clarify the correct way to handle cardInserted and cardRemoved events in OCF 1.2? Tom McKearney --- > Visit the OpenCard web site at http://www.opencard.org/ for more > information on OpenCard---binaries, source code, documents. > This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body. --- > Visit the OpenCard web site at http://www.opencard.org/ for more > information on OpenCard---binaries, source code, documents. > This list is being archived at http://www.opencard.org/archive/opencard/ ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email ! to ! [EMAIL PROTECTED] ! containing the word ! unsubscribe ! in the body.
