Hi. I have a problem that probably will be foolish for you, but I'm a newbie with 
opencard.

I'm trying to send APDU commands to a SIM card using opencard. I've a 
Gemplus GCR410 reader connected through the serial port to my PC.

I defined a MyService class derived from CardService.

The problem is that the initialize method of the CardService 
class (I overrided it)  requires q Scheduler through wich a
CardChannel is managed. The initialize calls the allocateChannel
method of the CardService class. The allocateChannel method
calls scheduler.allocateChannel(..)

But to create an instance of CardServiceScheduler I need
to pass a SlotChannel to the Constructor. But if I already have 
a Slot why do I need to call allocateChannel in the initialize ?

Can anyone show me a working example of how to create a Scheduler in
an application and then pass it to the initialize method
of MyService ?

Thank you in advance,
Marco Guidi


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