+
     h_  c                   s>    R t ^ RIt^ RIHt ^ RIHt  ! R R4      tR# )ap  AbstractCardRequest class.

__author__ = "https://www.gemalto.com/"

Copyright 2001-2012 gemalto
Author: Jean-Daniel Aussel, mailto:jean-daniel.aussel@gemalto.com

This file is part of pyscard.

pyscard is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

pyscard is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with pyscard; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
N)AnyCardType)PassThruCardServicec                   s@   a  ] tR t^t o RtRR ltR tR tR tRt	V t
R# )	AbstractCardRequestzThe base class for xxxCardRequest classes.

A CardRequest is used for waitForCard() invocations and specifies what
kind of smart card an application is waited for.Nc                s    Wn         W n        W0n        W@n        WPn        V P                  f   \        4       V n        V P                  f   \        V n        R# R# )a  Construct new CardRequest.

@param newcardonly: if True, request a new card; default is
                    False, i.e. accepts cards already inserted

@param readers:     the list of readers to consider for
                    requesting a card; default is to consider
                    all readers

@param cardType:    the L{smartcard.CardType.CardType} to wait for;
                    default is L{smartcard.CardType.AnyCardType},
                    i.e. the request will succeed with any card

@param cardServiceClass: the specific card service class to create
                    and bind to the card;default is to create
                    and bind a L{smartcard.PassThruCardService}

@param timeout:     the time in seconds we are ready to wait for
                    connecting to the requested card.  default
                    is to wait one second; to wait forever, set
                    timeout to None
N)newcardonlyreadersAskedcardTypecardServiceClasstimeoutr    r   )selfr   readersr   r   r   s   &&&&&&D/usr/lib64/python3.14/site-packages/smartcard/AbstractCardRequest.py__init__ZAbstractCardRequest.__init__$   sP    < '#  0 == 'MDM   ($7D! )    c                sr    V P                   f   \        P                  P                  4       # V P                   # )z7Returns the list or readers on which to wait for cards.)r   	smartcardZSystemr	   r      &r
   
getReadersZAbstractCardRequest.getReadersP   s1     $##++--$$$r   c                    R# )z3Wait for card insertion and returns a card service.N r   r   r
   waitforcardZAbstractCardRequest.waitforcardX       r   c                r   )z#Wait for card insertion or removal.Nr   r   r   r
   waitforcardeventZ$AbstractCardRequest.waitforcardevent\   r   r   )r   r   r   r   r   )FNNNi   )Z__name__Z
__module__Z__qualname__Z__firstlineno____doc__r   r   r   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r
   r   r      s$     8
*8X% r   r   )r   Zsmartcard.Systemr   Zsmartcard.CardTyper    Zsmartcard.PassThruCardServicer   r   r   r   r
   <module>r      s!   0  * =@ @r   