Package uk.co.nimp.scard

Examples of uk.co.nimp.scard.RemoteTerminalManager


        SCardTransmit(context, apdu);
    }

    public static void main(String[] args) throws ScardException, IOException, CardNotPresentException {
        try {
            RemoteTerminalManager manager = new RemoteTerminalManager();
            List<GenericTerminal> terminals = manager.list();
            terminals = manager.list();
            terminals = manager.list();
            if (0 == terminals.size()) {
                System.out.println("Remote terminal not detected.");
                return;
            }
            GenericTerminal terminal = terminals.get(0);
            terminals = manager.list();
            terminal.addLogHandler(new ScardPrintStreamLogHandler(System.out));
            System.out.println("Please insert a card in terminal " + terminal.getName());
            while (false == terminal.isCardPresent()) {
                try {
                    Thread.sleep(200);
View Full Code Here

TOP

Related Classes of uk.co.nimp.scard.RemoteTerminalManager

Copyright © 2018 www.massapicom. 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.