a ÖâÏh¸ã@sdddlmZmZmZmZddlTgd¢ZGdd„dƒZGdd„dƒZGdd „d ƒZ Gd d „d ƒZ d S) é)Ú rpc_methodÚ rpc_arg_typeÚ rpc_callbackÚ rpc_signal)Ú*)ÚSETroubleshootServerInterfaceÚSETroubleshootDatabaseInterfaceÚ%SETroubleshootDatabaseNotifyInterfaceÚSEAlertInterfacec@s eZdZedƒdd„ƒZeddƒedeƒdd„ƒƒZedƒdd„ƒZ edd ƒd d „ƒZ edƒd d „ƒZ eddƒede ƒdd„ƒƒZ edƒede ƒdd„ƒƒZdS)rZSETroubleshootServercCsdS©N©)ÚselfZ database_namer r úA/usr/lib/python3.9/site-packages/setroubleshoot/rpc_interfaces.pyÚ database_bind&sz+SETroubleshootServerInterface.database_bindrcCsdSr r ©r Z propertiesr r rÚdatabase_bind_callback*sz4SETroubleshootServerInterface.database_bind_callbackcCsdSr r )r ÚtypeÚusernameÚpasswordr r rÚlogon2sz#SETroubleshootServerInterface.logonrcCsdSr r )Z pkg_versionZ rpc_versionr r rÚlogon_callback6sz,SETroubleshootServerInterface.logon_callbackcCsdSr r ©r r r rÚquery_email_recipients=sz4SETroubleshootServerInterface.query_email_recipientsrcCsdSr r ©r Z recipientsr r rÚquery_email_recipients_callbackAsz=SETroubleshootServerInterface.query_email_recipients_callbackcCsdSr r rr r rÚset_email_recipientsFsz2SETroubleshootServerInterface.set_email_recipientsN)Ú__name__Ú __module__Ú __qualname__rrrrÚSEDatabasePropertiesrrrrZSEEmailRecipientSetrrr r r rr!s"      rc@seZdZedƒedeƒdd„ƒƒZedƒedeeƒdd„ƒƒZe ddƒdd„ƒZ edƒd d „ƒZ e dd ƒede ƒd d „ƒƒZ edƒdd„ƒZe ddƒedeƒdd„ƒƒZedƒdd„ƒZe ddƒedeƒdd„ƒƒZedƒedeeeeƒdd„ƒƒZedƒedeeeeƒdd„ƒƒZdS)rZSETroubleshootDatabasecCsdSr r )r Úsigr r rÚdelete_signatureSsz0SETroubleshootDatabaseInterface.delete_signaturecCsdSr r )r r rr r rÚevaluate_alert_filter[sz5SETroubleshootDatabaseInterface.evaluate_alert_filterr"cCsdSr r )r Úresultr r rÚevaluate_alert_filter_callback`sz>SETroubleshootDatabaseInterface.evaluate_alert_filter_callbackcCsdSr r rr r rÚget_propertiesgsz.SETroubleshootDatabaseInterface.get_propertiesr%cCsdSr r rr r rÚget_properties_callbackksz7SETroubleshootDatabaseInterface.get_properties_callbackcCsdSr r )r Zlocal_idr r rÚlookup_local_idssz/SETroubleshootDatabaseInterface.lookup_local_idr'cCsdSr r )r Úsiginfor r rÚlookup_local_id_callbackwsz8SETroubleshootDatabaseInterface.lookup_local_id_callbackcCsdSr r )r Zcriteriar r rÚ query_alertssz,SETroubleshootDatabaseInterface.query_alertsr*cCsdSr r )r Zsigsr r rÚquery_alerts_callbackƒsz5SETroubleshootDatabaseInterface.query_alerts_callbackcCsdSr r )r r rZ filter_typeÚdatar r rÚ set_filter‹sz*SETroubleshootDatabaseInterface.set_filtercCsdSr r )r r rÚkeyÚvaluer r rÚ set_user_data“sz-SETroubleshootDatabaseInterface.set_user_dataN)rrrrrZSEFaultSignaturer!Ústrr"rr$r%rr&r'ÚSEFaultSignatureInfor)r*ZSEFaultSignatureSetr+Úintr-r0r r r rrNs:           rc@seZdZedƒdd„ƒZdS)r ZSETroubleshootDatabaseNotifycCsdSr r )rÚitemr r rÚsignatures_updatedŸsz8SETroubleshootDatabaseNotifyInterface.signatures_updatedN)rrrrr5r r r rr šsr c@s&eZdZedƒedeƒdd„ƒƒZdS)r ZSEAlertcCsdSr r )r(r r rÚalert«szSEAlertInterface.alertN)rrrrrr2r6r r r rr ¦sr N) Zsetroubleshoot.rpcrrrrZsetroubleshoot.signatureÚ__all__rrr r r r r rÚs  -L