API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.smartcardio. CardChannel View Source
Author(s)
Andreas Sterbenz
JSR 268 Expert Group
Since
1.6
Version
1.4, 08/21/06
Serial
Hierarchy
 Object
      CardChannel
Implements
Subclasses
Description
publicabstract abstract class CardChannel
  A logical channel connection to a Smart Card.
See also:    Card CommandAPDU ResponseAPDU
Constructors
protected CardChannel ()
  Constructs a new CardChannel object.
Methods
Hide/Show inherited methods
publicabstract void close () throws CardException
  Closes this CardChannel.
publicabstract Card getCard ()
  Returns the Card this channel is associated with.
publicabstract int getChannelNumber ()
  Returns the channel number of this CardChannel.
publicabstract int transmit (ByteBuffer command, ByteBuffer response) throws CardException
  Transmits the command APDU stored in the command ByteBuffer and receives the reponse APDU in the response ByteBuffer.
publicabstract ResponseAPDU transmit (CommandAPDU command) throws CardException
  Transmits the specified command APDU to the Smart Card and returns the response APDU.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar