no.entur.android.nfc.websocket.server.ExtendedCardTerminal Maven / Gradle / Ivy
The newest version!
package no.entur.android.nfc.websocket.server;
import java.util.List;
import javax.smartcardio.Card;
import javax.smartcardio.CardChannel;
import javax.smartcardio.CardException;
import javax.smartcardio.CardTerminal;
public abstract class ExtendedCardTerminal extends CardTerminal {
protected final CardTerminal delegate;
protected List tags;
public ExtendedCardTerminal(CardTerminal delegate) {
this.delegate = delegate;
}
public void setTags(List tags) {
this.tags = tags;
}
public List getTags() {
return tags;
}
public abstract void startPolling() throws CardException;
public abstract void stopPolling() throws CardException;
public CardTerminal getDelegate() {
return delegate;
}
public abstract List identifyTechnologies(Card card, CardChannel channel);
}