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

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

There is a newer version: 1.0.0
Show newest version
????2?
l?	l?	l?
n??
???
??	l?	l?	l??
?	l?????????
????
???????????
??
????????????
('?	?

.
3
3
?
?<
.
.	
.? 	?!"#$
G?%
G&
'(
G)
F?
*+,
*-
*./?01@?@
23?45
G67
89:	;<=>
l?@ABCDfE	FGfHIJ
KLMNInnerClassesManagedSamResourceReaderObserverPluginObserverloggerLorg/slf4j/Logger;localManagedSamResources$Ljava/util/concurrent/ConcurrentMap;	Signature?Ljava/util/concurrent/ConcurrentMap;readerObserverQLorg/eclipse/keyple/calypso/transaction/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;pluginObserverQLorg/eclipse/keyple/calypso/transaction/SamResourceManagerDefault$PluginObserver;thisBLorg/eclipse/keyple/calypso/transaction/SamResourceManagerDefault;pluginsamReaderFilterpLjava/util/regex/Pattern;samReadersNamesLjava/util/Set;LocalVariableTypeTable#Ljava/util/Set;
StackMapTableJO?PQR?removeResource+(Lorg/eclipse/keyple/core/service/Reader;)V	samReader(Lorg/eclipse/keyple/core/service/Reader;managedSamResourceULorg/eclipse/keyple/calypso/transaction/SamResourceManagerDefault$ManagedSamResource;allocateSamResourceSAllocationMode?(Lorg/eclipse/keyple/calypso/transaction/SamResourceManager$AllocationMode;Lorg/eclipse/keyple/calypso/transaction/SamIdentifier;)Lorg/eclipse/keyple/core/card/selection/CardResource;entryEntryLjava/util/Map$Entry; Ljava/lang/InterruptedException;allocationModeJLorg/eclipse/keyple/calypso/transaction/SamResourceManager$AllocationMode;
samIdentifier6Lorg/eclipse/keyple/calypso/transaction/SamIdentifier;maxBlockingDateJnoSamResourceLoggedZ~Ljava/util/Map$Entry;?T,?(Lorg/eclipse/keyple/calypso/transaction/SamResourceManager$AllocationMode;Lorg/eclipse/keyple/calypso/transaction/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/SamResourceManagerDefault$ReaderObserver;)V;Lorg/eclipse/keyple/core/service/exception/KeypleException;U?A
access$000()Lorg/slf4j/Logger;
access$100h(Lorg/eclipse/keyple/calypso/transaction/SamResourceManagerDefault;)Ljava/util/concurrent/ConcurrentMap;x0
access$200?(Lorg/eclipse/keyple/calypso/transaction/SamResourceManagerDefault;Lorg/eclipse/keyple/core/service/Reader;Lorg/eclipse/keyple/calypso/transaction/SamResourceManagerDefault$ReaderObserver;)Vx1x2()V
SourceFileSamResourceManagerDefault.java??vwtu??&java/util/concurrent/ConcurrentHashMap"java/lang/IllegalArgumentException!Sleep time must be greater than 0?V(Max Blocking Time must be greater than 0?~|}Oorg/eclipse/keyple/calypso/transaction/SamResourceManagerDefault$ReaderObserver?Wz{dPLUGINNAME = {} initialize the localManagedSamResources with the {} connected readers filtered by {}java/lang/ObjectOXYZ[\]^_`abcdPefghQijRklmnjava/lang/StringopqrlAdd reader: {}stuv?org/eclipse/keyple/core/service/exception/KeypleReaderExceptioncould not init samReader {}wxReader not matching: {}6org/eclipse/keyple/core/service/event/ObservablePluginOorg/eclipse/keyple/calypso/transaction/SamResourceManagerDefault$PluginObserver?yAdd observer PLUGINNAME = {}z|U}~Sorg/eclipse/keyple/calypso/transaction/SamResourceManagerDefault$ManagedSamResource??lJFreed SAM resource: READER = {}, SAM_REVISION = {}, SAM_SERIAL_NUMBER = {}??1org/eclipse/keyple/calypso/transaction/CalypsoSam???????sd??? Allocating SAM reader channel...sV?hjava/util/Map$Entry?n?l???????+Allocation succeeded. SAM resource created.?V??)No SAM resources available at the moment.Korg/eclipse/keyple/calypso/exception/CalypsoNoSamResourceAvailableExceptionjava/lang/StringBuilder6No Sam resource could be allocated for samIdentifier +????Y?Y???java/lang/InterruptedException????$Interrupt exception in Thread.sleep.wV8The allocation process failed. Timeout {} sec exceeded .?`?wt5No Sam resource could be allocated within timeout of ??ms for samIdentifier ?u?Freeing local SAM resource.??%SAM resource not found while freeing.?lCreate 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 = {}z??????*Sam Reader is not an ObservableReader = {}@org/eclipse/keyple/calypso/transaction/SamResourceManagerDefault???9org/eclipse/keyple/calypso/transaction/SamResourceManagerBorg/eclipse/keyple/calypso/transaction/SamResourceManagerDefault$1&org/eclipse/keyple/core/service/Pluginjava/util/regex/Pattern
java/util/Setjava/util/IteratorHorg/eclipse/keyple/calypso/transaction/SamResourceManager$AllocationModejava/lang/Throwable&org/eclipse/keyple/core/service/Reader(Ljava/lang/String;)VE(Lorg/eclipse/keyple/calypso/transaction/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/SamResourceManagerDefault;Lorg/eclipse/keyple/calypso/transaction/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
isSamMatching9(Lorg/eclipse/keyple/calypso/transaction/SamIdentifier;)Zeorg/eclipse/keyple/calypso/transaction/SamResourceManagerDefault$ManagedSamResource$SamResourceStatusSamResourceStatusBUSYgLorg/eclipse/keyple/calypso/transaction/SamResourceManagerDefault$ManagedSamResource$SamResourceStatus;setSamResourceStatusj(Lorg/eclipse/keyple/calypso/transaction/SamResourceManagerDefault$ManagedSamResource$SamResourceStatus;)VdebugNON_BLOCKINGappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;4org/eclipse/keyple/calypso/transaction/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/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**?,?):?**?
??!*?
?'?+????#?~D,HIK$L.N4O9P>RJSYUeVwS|Y?Z?[?\?]?_?b?`?a?b?d?fg	km+n9p?f
???	?N??!??:??:?}:??:~:???????????????J?????l????D	??????????6????g*?+?,?-?.M,?R*?+?,?/W??0?7?1?Y+?,SY,?2?3?4SY,?2?3?5?6S?7??*
xyz'{2|>~GT?a|f?? 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	Ff?@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy