com.gemplus.opencard.terminal
Class GemplusBlockProtocol
java.lang.Object
|
+--opencard.opt.terminal.protocol.T1Protocol
|
+--com.gemplus.opencard.terminal.GemplusBlockProtocol
- public class GemplusBlockProtocol
- extends T1Protocol
Implementation of an OpenCard T1Protocol for
GemPlus serial readers using the javax.comm package.
IMPORTANT: javax.comm does not work with applets under jdk1.1.x !!!
- Version:
- $Id: GemplusBlockProtocol.java,v 1.1 1999/12/02 16:05:58 damke Exp $
- See Also:
T1Protocol
| Methods inherited from class opencard.opt.terminal.protocol.T1Protocol |
close,
getBlockWaitingTime,
getHostAddress,
getRecvSequenceCounter,
getRemoteAddress,
getSendSequenceCounter,
incRecvSequenceCounter,
incSendSequenceCounter,
internalTransmit,
isBlockComplete,
open,
setBlockWaitingTime,
setRecvSequenceCounter,
setSendSequenceCounter,
transmit,
transmit,
transmit |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
exchangeData
protected T1Block exchangeData(T1Block sendBlock)
throws T1IOException,
T1TimeoutException,
T1BlockLengthException,
T1UnknownBlockException,
T1BlockEDCErrorException
- Implementation of exchangeData
- Parameters:
sendBlock - The T1 block to send.T1IOException - Thrown when error occured on data transfer.
(This exception is a wrapper for IOException)T1TimeoutException - Thrown when block receive is not complete within expected time.T1BlockLengthException - Thrown when expected block length differs from received data.T1UnknownBlockException - Thrown when T1Block could not identify the type of the
given block.T1BlockEDCErrorException - Thrown when T1Block detected error in checksum.- Overrides:
- exchangeData in class T1Protocol
- See Also:
T1Protocol.exchangeData(opencard.opt.terminal.protocol.T1Block)
|