Package uk.co.nimp.scard

Examples of uk.co.nimp.scard.MP300TC3TerminalManager.list()


            public void run() {
                {
                    try {
                        MP300TC3TerminalManager.initContext();
                        MP300TC3TerminalManager manager = new MP300TC3TerminalManager();
                        List<GenericTerminal> terminals = manager.list();
                        if(0==terminals.size())
                            throw new RuntimeException("MP300 TC3 not found");
                        MP300TC3Terminal terminal = (MP300TC3Terminal) terminals.get(0);
                        terminal.addLogHandler(new ScardPrintStreamLogHandler(System.out));
                        System.out.println("Try to connect to " + terminal.getName());
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.