|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jaccal.SessionFactory
com.jaccal.JaccalPCSCSessionFactory
Jaccal-PCSC specific implementation of the SessionFactory
Session
,
SessionFactory
,
JaccalPCSCSession
,
JaccalPCSC
,
JaccalPCSCException
Field Summary |
Fields inherited from class com.jaccal.SessionFactory |
instance, readers, sessions |
Constructor Summary | |
JaccalPCSCSessionFactory()
Constructor |
Method Summary | |
Session |
createSession(String name)
Creates a session, assigning the name. |
Session |
createSession(String name,
int cardType)
Creates a session, assigning the name, for the specific card type to detect. |
Session |
createSession(String name,
String reader)
Creates a session, assigning the name and specifying which reader to use |
Session[] |
createSessions()
Creates a list of all sessions available in the system |
Session[] |
createSessions(int cardType)
|
Methods inherited from class com.jaccal.SessionFactory |
addReader, getAllReaders, getCardTypes, getInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JaccalPCSCSessionFactory() throws SessionFactoryException
SessionFactoryException
Method Detail |
public Session createSession(String name, String reader) throws SessionFactoryException
createSession
in class SessionFactory
name
- The name for this sessionreader
- The reader to access for this session
SessionFactoryException
public Session createSession(String name) throws SessionFactoryException
createSession
in class SessionFactory
name
- The name of the session
SessionFactoryException
public Session createSession(String name, int cardType) throws SessionFactoryException
createSession
in class SessionFactory
name
- The name of the sessioncardType
- The card type
SessionFactoryException
public Session[] createSessions() throws SessionFactoryException
createSessions
in class SessionFactory
SessionFactoryException
public Session[] createSessions(int cardType)
createSessions
in class SessionFactory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |