All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.keyple.calypso.transaction.sammanager.SamResourceManagerDefault.class Maven / Gradle / Ivy

????2?
l?	l?	l?
n??
???
??	l?	l?	l??
?	l?????????
????
???????????
??
???????????
('?	
?
.

3
3
?
?<
.
.	
. ?!	?"#$%
G?&
G'
()
G*
F?
+,-
+.
+/0?12@?@
34?56
G78
9:;	<=>?
l@ABCDEfF	GHfIJK
LMNOInnerClassesManagedSamResourceReaderObserverPluginObserverloggerLorg/slf4j/Logger;localManagedSamResources$Ljava/util/concurrent/ConcurrentMap;	Signature?Ljava/util/concurrent/ConcurrentMap;readerObserver\Lorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault$ReaderObserver;samReaderPlugin(Lorg/eclipse/keyple/core/service/Plugin;maxBlockingTimeI	sleepTime?(Lorg/eclipse/keyple/core/service/Plugin;Ljava/lang/String;II)VCodeLineNumberTableLocalVariableTableeALorg/eclipse/keyple/core/service/exception/KeypleReaderException;
samReaderNameLjava/lang/String;pluginObserver\Lorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault$PluginObserver;thisMLorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault;pluginsamReaderFilterpLjava/util/regex/Pattern;samReadersNamesLjava/util/Set;LocalVariableTypeTable#Ljava/util/Set;
StackMapTableKP?QRS?removeResource+(Lorg/eclipse/keyple/core/service/Reader;)V	samReader(Lorg/eclipse/keyple/core/service/Reader;managedSamResource`Lorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault$ManagedSamResource;	allocateSamResourceTAllocationMode?(Lorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManager$AllocationMode;Lorg/eclipse/keyple/calypso/transaction/sammanager/SamIdentifier;)Lorg/eclipse/keyple/core/card/selection/CardResource;entryEntryLjava/util/Map$Entry; Ljava/lang/InterruptedException;allocationModeULorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManager$AllocationMode;
samIdentifierALorg/eclipse/keyple/calypso/transaction/sammanager/SamIdentifier;maxBlockingDateJnoSamResourceLoggedZ?Ljava/util/Map$Entry;?U-(Lorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManager$AllocationMode;Lorg/eclipse/keyple/calypso/transaction/sammanager/SamIdentifier;)Lorg/eclipse/keyple/core/card/selection/CardResource;freeSamResource8(Lorg/eclipse/keyple/core/card/selection/CardResource;)VsamResource5Lorg/eclipse/keyple/core/card/selection/CardResource;jLorg/eclipse/keyple/core/card/selection/CardResource;m(Lorg/eclipse/keyple/core/card/selection/CardResource;)V
initSamReader?(Lorg/eclipse/keyple/core/service/Reader;Lorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault$ReaderObserver;)V;Lorg/eclipse/keyple/core/service/exception/KeypleException;V?B
access$000()Lorg/slf4j/Logger;
access$100s(Lorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault;)Ljava/util/concurrent/ConcurrentMap;x0
access$200?(Lorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault;Lorg/eclipse/keyple/core/service/Reader;Lorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault$ReaderObserver;)Vx1x2()V
SourceFileSamResourceManagerDefault.java
Deprecated??vwtu??&java/util/concurrent/ConcurrentHashMap"java/lang/IllegalArgumentException!Sleep time must be greater than 0?W(Max Blocking Time must be greater than 0?~|}Zorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault$ReaderObserver?Xz{dPLUGINNAME = {} initialize the localManagedSamResources with the {} connected readers filtered by {}java/lang/ObjectPYZ[\]^_`abcdeQfghiRjkSlmnojava/lang/StringpqrsmAdd reader: {}tuvw?org/eclipse/keyple/core/service/exception/KeypleReaderExceptioncould not init samReader {}xyReader not matching: {}6org/eclipse/keyple/core/service/event/ObservablePluginZorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault$PluginObserver?zAdd observer PLUGINNAME = {}{}V~?^org/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault$ManagedSamResource???mJFreed SAM resource: READER = {}, SAM_REVISION = {}, SAM_SERIAL_NUMBER = {}??1org/eclipse/keyple/calypso/transaction/CalypsoSam???????te??? Allocating SAM reader channel...tW?ijava/util/Map$Entry?o?m???????+Allocation succeeded. SAM resource created.?W??)No SAM resources available at the moment.Korg/eclipse/keyple/calypso/exception/CalypsoNoSamResourceAvailableExceptionjava/lang/StringBuilder6No Sam resource could be allocated for samIdentifier +????Z?Z???java/lang/InterruptedException????$Interrupt exception in Thread.sleep.xW8The allocation process failed. Timeout {} sec exceeded .?a?xu5No Sam resource could be allocated within timeout of ??ms for samIdentifier ?v?Freeing local SAM resource.??%SAM resource not found while freeing.?mCreate SAM resource: {}????9org/eclipse/keyple/core/service/exception/KeypleExceptionGParameters are not supported for this reader : protocol:TO, mode:shared6org/eclipse/keyple/core/service/event/ObservableReader0Add observer and start detection READERNAME = {}{??????*Sam Reader is not an ObservableReader = {}Korg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault???Dorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerMorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault$1&org/eclipse/keyple/core/service/Pluginjava/util/regex/Pattern
java/util/Setjava/util/IteratorSorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManager$AllocationModejava/lang/Throwable&org/eclipse/keyple/core/service/Reader(Ljava/lang/String;)VP(Lorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault;)VgetName()Ljava/lang/String;
getReaders()Ljava/util/Map;
java/util/Mapsize()Ijava/lang/IntegervalueOf(I)Ljava/lang/Integer;org/slf4j/Loggerinfo((Ljava/lang/String;[Ljava/lang/Object;)Vcompile-(Ljava/lang/String;)Ljava/util/regex/Pattern;keySet()Ljava/util/Set;iterator()Ljava/util/Iterator;hasNext()Znext()Ljava/lang/Object;matcher3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;java/util/regex/Matchermatchestrace'(Ljava/lang/String;Ljava/lang/Object;)V	getReader<(Ljava/lang/String;)Lorg/eclipse/keyple/core/service/Reader;error9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V?(Lorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault;Lorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault$ReaderObserver;Ljava/lang/String;)VaddObserver?J(Lorg/eclipse/keyple/core/service/event/ObservablePlugin$PluginObserver;)V"java/util/concurrent/ConcurrentMapget&(Ljava/lang/Object;)Ljava/lang/Object;remove
isInfoEnabledgetSmartCard<()Lorg/eclipse/keyple/core/card/selection/AbstractSmartCard;getSamRevision6()Lorg/eclipse/keyple/calypso/command/sam/SamRevision;getSerialNumber()[B*org/eclipse/keyple/core/util/ByteArrayUtiltoHex([B)Ljava/lang/String;java/lang/SystemcurrentTimeMillis()JentrySetgetValueisSamResourceFree
isSamMatchingD(Lorg/eclipse/keyple/calypso/transaction/sammanager/SamIdentifier;)Zporg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault$ManagedSamResource$SamResourceStatusSamResourceStatusBUSYrLorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault$ManagedSamResource$SamResourceStatus;setSamResourceStatusu(Lorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault$ManagedSamResource$SamResourceStatus;)VdebugNON_BLOCKINGappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;?org/eclipse/keyple/calypso/transaction/sammanager/SamIdentifiergetGroupReferencetoStringjava/lang/Threadsleep(J)V
currentThread()Ljava/lang/Thread;	interruptjava/lang/Double(D)Ljava/lang/Double;(I)Ljava/lang/StringBuilder;3org/eclipse/keyple/core/card/selection/CardResource*()Lorg/eclipse/keyple/core/service/Reader;FREE
isCardPresentcreateSamResource?(Lorg/eclipse/keyple/core/service/Reader;)Lorg/eclipse/keyple/calypso/transaction/sammanager/SamResourceManagerDefault$ManagedSamResource;put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;?J(Lorg/eclipse/keyple/core/service/event/ObservableReader$ReaderObserver;)VBorg/eclipse/keyple/core/service/event/ObservableReader$PollingModePollingMode	REPEATINGDLorg/eclipse/keyple/core/service/event/ObservableReader$PollingMode;startCardDetectionG(Lorg/eclipse/keyple/core/service/event/ObservableReader$PollingMode;)Vorg/slf4j/LoggerFactory	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;Eorg/eclipse/keyple/core/service/event/ObservablePlugin$PluginObserverEorg/eclipse/keyple/core/service/event/ObservableReader$ReaderObserver!lntuvwxyz{|}~?	????
:*?*?Y???
?Y?	??
?Y
?	?*?*?*+?
*?Y*????Y*?
?SY*?
???SY,S?,?:*?
??:?:??`??:???8? ?!**?
?"*???":	?$	?%??&?!???+?'?3?(Y**?,?):?**?
??!*?
?'?+????#?~G/KLN$O.Q4R9S>UJVYXeYwV|\?]?^?_?`?b?e?c?d?e?g?ij	np+q9s?f
???	?N??!??:??:?}:??:~:???????????????J?????l????D	??????????6????g*?+?,?-?.M,?R*?+?,?/W??0?7?1?Y+?,SY,?2?3?4SY,?2?3?5?6S?7??*
{|}'~2>?G?T?af?? g??g??T????f????u1?8*??aB6?9?:*?Y:?*??;?:??G??<:?=?.:		?>?$	,???	?@?A?B?C	ð???ç:
?
?+?D?+?E?:?FY?GY?HI?J,?K?J?L?M???E?:6*???N?:?P?Q?R?S?8!???)?T*??Uo?W?X?FY?GY?HY?J*??Z[?J,?K?J?L?M?y?z????????O?~?
?
???E?Q?Y?b?j?t?z?}?????????????????????????????????$??RQ)??	E5?????1??1??1??
'??
$???E5???$
?????J?E??.J?x?????L*?YM?*?+?\?,?-?.N-??]?:-?^?A?
?_?S,ç
:,???ADDHD?&	????!?+?5???K?? "??L??L???L????5???	D??x????P?+?`?;?a+?,?!*?YN?*?+?,*+?b?cW-ç
:-???N?Ye?	?+?f?0,?,?g+?,?!+?f,?h+?f?i?j??k+?,?!? 7::>:ADd?:	?? ?5?A?D?E?O?Z?j?t??????*E
?????????z{?"?:??????B?
3??????,???/*???,??????E*+,???,? ?????{???!	l?m???-???pR
o.lqlr(ls?n?@<??	|'s	.?@?fr	Gf?@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy