>>>>> "HVB" == Harley V Barrales <[EMAIL PROTECTED]> writes:

    HVB> Hello,

    HVB>        I am not expert on this one but this is what I noticed
    HVB>        lately. Using the card request,
    HVB>        CardRequest(int�waitBehavior,
    HVB>                CardTerminal�terminal,
    HVB>                java.lang.Class�cardServiceClass) the
    HVB>                waitBehavior there can have values either
    HVB>                ANYCARD or NEWCARD.
    HVB>        Either you are using deprecated method CardRequest cr
    HVB>        = new CardRequest(). Try using ANYCARD as waitBehavior
    HVB>        for the purpose and it can detect card already
    HVB>        inserted and will detect card
    HVB> insertions.

That indeed are the correct semantics:

        - NEWCARD means "wait for a card to be inserted, don't consider an already
          inserted (i.e., old) card"
        - ANYCARD means "return if there is already a card inserted
          else wait for a card to be inserted.


-- 
Dr. Dirk Husemann, IBM Research Division, Zurich Research Lab, Switzerland
Email: [EMAIL PROTECTED] ----------- WWW: http://www.zurich.ibm.com/~hud/
PGP fingerprint:        4EB4 8B36 9E98 9CCF 8F22  F162 B53A 9BFB 9D1A 3D43
PGP key:                http://www.zurich.ibm.com/~hud/PGP/

"We are Linux. Resistance is an indication that you missed the point."



---
> 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.

Reply via email to