Package org.nfctools.spi.scm

Examples of org.nfctools.spi.scm.SclTerminal


  }

  public static Terminal getAvailableTerminal(String preferredTerminalName) {
    TerminalHandler terminalHandler = new TerminalHandler();
    terminalHandler.addTerminal(new AcsTerminal());
    terminalHandler.addTerminal(new SclTerminal());

    return terminalHandler.getAvailableTerminal(preferredTerminalName);
  }
View Full Code Here


  public LlcpService(NdefListener ndefListener, TerminalStatusListener statusListener) {
    this.ndefListener = ndefListener;
    TerminalHandler terminalHandler = new TerminalHandler();
    terminalHandler.addTerminal(new AcsTerminal());
    terminalHandler.addTerminal(new SclTerminal());
    terminal = terminalHandler.getAvailableTerminal();
    terminal.setStatusListener(statusListener);
    terminal.setNdefListener(ndefListener);
    log.info("Connected to " + terminal.getTerminalName());
  }
View Full Code Here

TOP

Related Classes of org.nfctools.spi.scm.SclTerminal

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.