public interface StubPoolPlugin
extends org.eclipse.keyple.core.service.PoolPlugin
PoolPlugin with StubReaderImpl and StubSmartCard Manages
allocation readers by group reference.| Modifier and Type | Method and Description |
|---|---|
org.eclipse.keyple.core.service.Reader |
plugPoolReader(java.lang.String groupReference,
java.lang.String readerName,
StubSmartCard card)
Plug synchronously a new
StubReader in the StubPoolPlugin associated to
groupReference and a stub card. |
void |
unplugPoolReader(java.lang.String readerName)
Unplug synchronously a pool reader.
|
void |
unplugPoolReaders(java.lang.String groupReference)
Unplug synchronously all readers associated to a groupReference.
|
org.eclipse.keyple.core.service.Reader plugPoolReader(java.lang.String groupReference,
java.lang.String readerName,
StubSmartCard card)
StubReader in the StubPoolPlugin associated to
groupReference and a stub card. A READER_CONNECTED event will be raised.groupReference - group reference of the new stub reader (mandatory)readerName - name of the new stub reader (mandatory). Each reader should have a unique
name, no matter to what groupReference they are associated tocard - insert a card at creation (can be null)void unplugPoolReaders(java.lang.String groupReference)
groupReference - groupReference of the reader(s) to be unplugged (mandatory)void unplugPoolReader(java.lang.String readerName)
readerName - name of the reader to be unplugged (mandatory)