Examples of waitForChange()


Examples of javax.smartcardio.CardTerminals.waitForChange()

     * @return список терминалов со вставленной картой
     * @throws CardException
     */
    public List<CardTerminal> waitForEvent(long timeout) throws CardException {
        CardTerminals term = attach();
        if (term != null && term.waitForChange(timeout)) {
            try {
                List<CardTerminal> all = new ArrayList<CardTerminal>();
                List<CardTerminal> inserted = term.list(CardTerminals.State.CARD_INSERTION);
                List<CardTerminal> removed = term.list(CardTerminals.State.CARD_REMOVAL);
                if(inserted != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.