
    zh                     \    d Z  G d d          Z G d de          Z G d de          ZdS )aK  
Copyright 2009-2010 Mozes, Inc.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expressed or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
c                       e Zd Zd ZdS )
SMPPConfigc                    |                     dd          | _        |                     dd          | _        |                     dd          | _        |                     dd          | _        |                     d	d          | _        d S )
NsessionInitTimerSecs   enquireLinkTimerSecs
   inactivityTimerSecsx   responseTimerSecs<   pduReadTimerSecs)getr   r   r	   r   r   )selfkwargss     c/home/jenkins/workspace/simtester-sanitize/venv/lib/python3.11/site-packages/smpp/twisted/config.py__init__zSMPPConfig.__init__   s{    $*JJ/Er$J$J!$*JJ/Er$J$J!#)::.CS#I#I !',?!D!D &

+=r B B    N)__name__
__module____qualname__r    r   r   r   r      s(        C C C C Cr   r   c                        e Zd Z fdZ xZS )SMPPClientConfigc                     t          t          |           j        di | |d         | _        |d         | _        |d         | _        |d         | _        |                    dd          | _        |                    dd          | _	        |                    d	d           | _
        |                    d
d           | _        |                    dd           | _        |                    dd           | _        d S )Nhostportusernamepassword
systemType useSSLFSSLCertificateFileaddressRange
addressTon
addressNpir   )superr   r   r   r   r   r   r   r   r!   r"   r#   r$   r%   r   r   	__class__s     r   r   zSMPPClientConfig.__init__   s    .%%.888886N	6N	z*z* **\266jj511"(**-A4"H"H"JJ~t<< **\488 **\488r   r   r   r   r   __classcell__r(   s   @r   r   r      s8        9 9 9 9 9 9 9 9 9r   r   c                        e Zd Z fdZ xZS )SMPPServerConfigc                      t          t          |           j        di | |                    di           | _        |d         | _        dS )z
        @param systems: A dict of data representing the available
        systems.
        { "username1": {"max_bindings" : 2},
          "username2": {"max_bindings" : 1}
        }
        systems
msgHandlerNr   )r&   r-   r   r   r/   r0   r'   s     r   r   zSMPPServerConfig.__init__+   sN     	/%%.88888zz)R00 .r   r)   r+   s   @r   r-   r-   )   s8        
/ 
/ 
/ 
/ 
/ 
/ 
/ 
/ 
/r   r-   N)__doc__r   r   r-   r   r   r   <module>r2      s     C C C C C C C C9 9 9 9 9z 9 9 9/ / / / /z / / / / /r   