public abstract class AbstractPoCommandBuilder<T extends AbstractPoResponseParser>
extends org.eclipse.keyple.core.card.command.AbstractIso7816CommandBuilder
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPoCommandBuilder(CalypsoPoCommand commandRef,
org.eclipse.keyple.core.card.message.ApduRequest request)
Constructor dedicated for the building of referenced Calypso commands
|
| Modifier and Type | Method and Description |
|---|---|
abstract T |
createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
Create the response parser matching the builder
|
CalypsoPoCommand |
getCommandRef() |
abstract boolean |
isSessionBufferUsed()
Indicates if the session buffer is used when executing this command.
|
setApduRequestprotected AbstractPoCommandBuilder(CalypsoPoCommand commandRef, org.eclipse.keyple.core.card.message.ApduRequest request)
commandRef - a command reference from the Calypso command tablerequest - the ApduRequest (the instruction byte will be overwritten)public abstract T createResponseParser(org.eclipse.keyple.core.card.message.ApduResponse apduResponse)
apduResponse - the response data from the the cardAbstractApduResponseParserpublic CalypsoPoCommand getCommandRef()
getCommandRef in class org.eclipse.keyple.core.card.command.AbstractApduCommandBuilderpublic abstract boolean isSessionBufferUsed()
Allows the management of the overflow of this buffer.