public final class CardResponse
extends java.lang.Object
implements java.io.Serializable
CardRequest
.
These data are a list of ApduResponse
corresponding to the list of ApduRequest
present in the original CardRequest
.
The current logical channel status (open/closed) is provided by isLogicalChannelOpen.
Constructor and Description |
---|
CardResponse(boolean logicalChannelStatus,
java.util.List<ApduResponse> apduResponses)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<ApduResponse> |
getApduResponses()
Gets the apdu responses.
|
int |
hashCode() |
boolean |
isLogicalChannelOpen()
Get the logical channel status
|
java.lang.String |
toString() |
public CardResponse(boolean logicalChannelStatus, java.util.List<ApduResponse> apduResponses)
logicalChannelStatus
- A boolean (true if the current channel is open).apduResponses
- A list of ApduResponse
(must be not null).public boolean isLogicalChannelOpen()
public java.util.List<ApduResponse> getApduResponses()
ApduResponse
(may be empty).public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object