OpenCard  
 
OCF, the OpenCard Framework is a standard Java framework for working with Smart Cards.  
 

demos.samples
Class GetTerminalInfos

java.lang.Object
  |
  +--demos.samples.GetTerminalInfos

public class GetTerminalInfos
extends java.lang.Object

A sample providing information about the registered terminals. Please Note that the set of registered terminals may differ from the set of terminals that is physically attached to the system.

Version:
$Id: GetTerminalInfos.java,v 1.1 1999/12/03 09:34:41 damke Exp $

Constructor Summary
GetTerminalInfos()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static void printSlotInfos(CardTerminal terminal, int aSlotID)
          Output infos about the slot object passed.
static void printTerminalInfos(CardTerminal terminal)
          Output infos about the terminal object passed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetTerminalInfos

public GetTerminalInfos()
Method Detail

main

public static void main(java.lang.String[] args)

printSlotInfos

public static void printSlotInfos(CardTerminal terminal,
                                  int aSlotID)
Output infos about the slot object passed.

printTerminalInfos

public static void printTerminalInfos(CardTerminal terminal)
Output infos about the terminal object passed. This will output information about the slots of a terminal as well.