use of org.openecard.common.sal.state.CardStateEntry in project open-ecard by ecsec.
the class StatusHandler method getCardHandles.
@Nonnull
private List<ConnectionHandleType> getCardHandles() {
ConnectionHandleType handle = new ConnectionHandleType();
Set<CardStateEntry> entries = cardStates.getMatchingEntries(handle, false);
ArrayList<ConnectionHandleType> result = new ArrayList<>(entries.size());
for (CardStateEntry entry : entries) {
result.add(entry.handleCopy());
}
return result;
}
Aggregations