Package org.calypsonet.terminal.card
Interface CardResponseApi
-
- All Superinterfaces:
java.io.Serializable
public interface CardResponseApi extends java.io.Serializable
Group of multiple APDU responses.Contains a list of
ApduResponseApi
received from the card in response to aCardRequestSpi
and the associated execution status.The execution status includes the state of the logical channel after the operation and the information saying whether a response is present for all APDUs in the
CardRequestSpi
.Responses may be missing when this object is embedded in an
AbstractApduException
, for example, if the card is removed during processing or if an unsuccessful status word was received and processing was requested to be stopped in this case (seeCardRequestSpi.stopOnUnsuccessfulStatusWord()
.- Since:
- 1.0.0
- See Also:
CardRequestSpi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ApduResponseApi>
getApduResponses()
Gets a list of all responses received to the executed APDU requests.boolean
isLogicalChannelOpen()
Gets the state of the logical channel following the execution of the request.
-
-
-
Method Detail
-
getApduResponses
java.util.List<ApduResponseApi> getApduResponses()
Gets a list of all responses received to the executed APDU requests.- Returns:
- A not null list, empty if there is no response.
- Since:
- 1.0.0
-
isLogicalChannelOpen
boolean isLogicalChannelOpen()
Gets the state of the logical channel following the execution of the request.- Returns:
- True if the logical channel is open.
- Since:
- 1.0.0
-
-