Are you doing all your processing inside your event handler?  If so, the
first event handler to react to the card inserted event will block all
other event processing (and all other event handlers) until it has
finished doing what it has to do.

cheers
Brian

Luciano da Silva Coelho wrote:
> 
>  Hello All,
> 
>  Is's possible to have 2 or more OCF applications ccessing the same card?
>  I have an application that I initiate two independents nstances. One run
>  very well (the first) but the other instance no.
> 
>  To get a SmartCard object I use events and to sinalize the enviroment about
>  cards inserted before, I call the method
>  EventGenerator.getGenerator().createEventsForPresentCards();. The probem is
>  that only the first instance to be run receive the inserted card event.
> 
>  What I'm think or doing wrong??
> 
>  thanks a lot.
> 
>     [ ]´s
>     Luciano da Silva Coelho
>     [EMAIL PROTECTED]
>     Sun Certified Programmer for JAVA2
>     Sun Certified Web Component Developer for J2EE
>     Sun Certified Instructor for JAVA2
>     Diretor de Tecnologia
>     e-Sec Tecnologia em Segurança de Dados
>     www.esec.com.br
> 
> ---
> > 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.

Reply via email to