JCSCardChannel



com.licel.jcardsim.smartcardio
Class JCSCardChannel

java.lang.Object
  extended by javax.smartcardio.CardChannel
      extended by com.licel.jcardsim.smartcardio.JCSCardChannel

public class JCSCardChannel
extends javax.smartcardio.CardChannel

CardChannel implementation class.


Constructor Summary
JCSCardChannel(JCSCard card, int channel)
           
 
Method Summary
 void close()
          Do nothing.
 javax.smartcardio.Card getCard()
           
 int getChannelNumber()
           
 int transmit(ByteBuffer bb, ByteBuffer bb1)
           
 javax.smartcardio.ResponseAPDU transmit(javax.smartcardio.CommandAPDU capdu)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCSCardChannel

public JCSCardChannel(JCSCard card,
                      int channel)
Method Detail

getCard

public javax.smartcardio.Card getCard()
Specified by:
getCard in class javax.smartcardio.CardChannel

getChannelNumber

public int getChannelNumber()
Specified by:
getChannelNumber in class javax.smartcardio.CardChannel

transmit

public javax.smartcardio.ResponseAPDU transmit(javax.smartcardio.CommandAPDU capdu)
                                        throws javax.smartcardio.CardException
Specified by:
transmit in class javax.smartcardio.CardChannel
Throws:
javax.smartcardio.CardException

transmit

public int transmit(ByteBuffer bb,
                    ByteBuffer bb1)
             throws javax.smartcardio.CardException
Specified by:
transmit in class javax.smartcardio.CardChannel
Throws:
javax.smartcardio.CardException

close

public void close()
           throws javax.smartcardio.CardException
Do nothing.

Specified by:
close in class javax.smartcardio.CardChannel
Throws:
javax.smartcardio.CardException