Command: TERMINAL

USAGE /terminal [-p|--pop][term[|term_param]]
DESCRIPTION Connects to a given terminal (smart card reader or simulation) or obtains status information if already connected.

This command creates an instance of the specified terminal.
The terminal specifier is first checked against the definitions in the system and personal setup files. The referred setup value or the supplied specifier is evaluated as listed below:
null, ""
A null reference or an empty string refer to the default terminal. The default terminal is defined in the system or personal terminal properties file.
If no properties-entry found for "DEFAULT.TERMINAL" try auto detect of card+terminal. Without any additional param it opens a PCSCJCTerminal and searches for existing readers. Returns first reader with inserted card or first reader in reader-list.
DLL:API
A NativeJCTerminal is instanciated. DLL refers to the DLLs to used and API is the number of the API to be used with this DLL.
NICKNAME
If the specifier does not contain a dot (`.') then a Java class named com.ibm.jc.terminal.NICKNAMEJCTerminal is instanciated. This instance must be a subclass of JCTerminal. You have to ensure the implementation of this specified class (better use -->"CLASSQUAL").
CLASSQUAL
If none of the above cases matches, the specifier is treated as a fully qualified class name. This class is instanciated and must be a subclass of JCTerminal.
PARAMETER
NameDescriptionRequired
--+-- -p -----+-->
  !           !         
  +-- --pop --+     
Pop top most filter (filter is a terminal) No
term[|term_param] Specify either the name of a terminal or a name plus some terminal parameter.
The parameter must be separated by a `|' character.
No
EXAMPLE
Example 1: Open a NativeJCTerminal (using jct.dll)

/term pcsc:4

Example 2: Open a NativeJCTerminal (using jct.dll)

/term winscard:4

Example 3: Open a PCSCJCTerminal (using jpcsc.dll)

/term "PCSC"

Example 4: Open a PCSCJCTerminal(using jpcsc.dll) to the designated reader

/term "PCSC|SCM Microsystems Inc. SDI010 Contactless Reader 0"

Example 5: Open a RemoteJCTerminal (using a socket connection at localhost:8050 to the Generic-Simulation - must be started before)

/term Remote

Example 6: Open a RemoteJCTerminal (try to connect Simulation at localhost:2233) 

/term Remote|2233

Example 7: Open a RemoteJCTerminal (try to connect Simulation at myHost:2233) 

/term Remote|myHost:2233

Example 8: Try to open a MyTermJCTerminal(using individual dll)

/term "MyTerm"
  		
CONDITIONS None.