+
    WBi                     	   R t RtRt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RI	t
^ RIt
R t]R8X  Ed*   ^ RIt^ RIt^ RIt]! 4       t]P&                  P(                  P+                  RR7       ]P,                  t]P0                  '       d   ]
P2                  P5                  ]P0                  4      t]P8                  ]n        ]P<                  ]n        ]P@                  '       g   ]P,                  '       g   ]PB                  t]"! ]R4      '       d   ]PF                  ]n$        MR	]n$        ]PH                  '       d,   ]"! ]R
4      '       g   ]
P2                  PJ                  ]n&        M]PN                  ]n&        ]
PP                  PR                  PU                  ]4      t+R0t,]+P[                  ],P\                  RRRR7       ]P^                  Pa                  ]P:                  ]+RRRR7      t1]
P2                  Pe                  ]1]P>                  ]PL                  / ]Pf                  ]PH                  4      t4Rt5]Pj                  '       dZ    ]Pl                  ! ]Pj                  4      t5]<! ]5]=4      '       g.   ]Pr                  Pu                  R4       ]Pv                  ! ^4       ]P0                  '       d   ]4P}                  ]P0                  ]54       ]P,                  ! 4       R8X  d   ]P~                  P                  R4      tAM]P~                  P                  R4      tA]4]
P2                  P                  ]P>                  &   ]P                  '       d   ]P                  ! ]P                  4      ;_uu_ 4       tE]F! 4       tG]P                  ! R]P                  ]P                  4      R 4       tJ]AP                  ]EP                  ]J4       ],'       d   ]AP                  RR4       K   ]EP                  4        ]EP                  4        ]Pv                  ! ]G'       d   ]GP]                  4       M]EP                  4       RRR4       R# ],'       d   ]AP                  RR4       K  R# R#   ]7 d=   t8]Pr                  Pu                  R]8 R24       ]Pv                  ! ^4        Rt8A8EL;Rt8A8ii ; i  ]P d     Li ; i  + '       g   i     R# ; i)z)Main entry point for running mock server.zMartin PittzH
(c) 2012 Canonical Ltd.
(c) 2017 - 2022 Martin Pitt <martin@piware.de>
Nc                    \         P                  ! RR7      p V P                  RRRRR7       V P                  RRR	R7       V P                  R
RRRR7       V P                  RRRRR7       V P                  RRRRR7       V P                  RRRRR7       V P                  RRRRR7       V P                  RRRRR7       V P                  RR R!R"7       V P                  R#R$\         P                  R%R&7       V P	                  4       pVP
                  '       dI   VP                  '       g%   VP                  '       g   VP                  '       d   V P                  R'4       MGVP                  '       d%   VP                  '       d   VP                  '       g   V P                  R(4       VP                  '       d$   VP                  '       d   V P                  R)4       V# )*zParse command line argumentszmock D-Bus object)descriptionz-sz--system
store_truezPput object(s) on system bus (default: session bus or template's SYSTEM_BUS flag))actionhelpz	--sessionz]put object(s) on session bus (default without template; overrides template's SYSTEM_BUS flag)z-lz	--logfilePATHzpath of log file)metavarr   z-tz
--templateNAMEz>template to load (instead of specifying name, path, interface)name?zED-Bus name to claim (e. g. "com.example.MyService") (if not using -t))r   nargsr   pathz;D-Bus object path for initial/main object (if not using -t)	interface	INTERFACEz>main D-Bus interface name for initial object (if not using -t)z-mz--is-object-managerzHautomatically implement the org.freedesktop.DBus.ObjectManager interfacez-pz--parametersz5JSON dictionary of parameters to pass to the template)r   z-ez--execz&Command to run in the mock environment)r   r   zD--template and specifying NAME/PATH/INTERFACE are mutually exclusivez@Not using a template, you must specify NAME, PATH, and INTERFACEz---system and --session are mutually exclusive)argparseArgumentParseradd_argument	REMAINDER
parse_argstemplater
   r   r   errorsystemsession)parser	argumentss     6/usr/lib/python3.14/site-packages/dbusmock/__main__.pyr   r      s    $$1DEF
_	   l  
 	   M	   T	   J	   M	   W	   D  
   5	   !!#I>>>Y^^^y/B/B/BLL_`~~~Y^^^9;N;N;NLL[\I---DE    __main__T)set_as_defaultIS_OBJECT_MANAGERF
MAIN_IFACEDisconnectedz/org/freedesktop/DBus/Localzorg.freedesktop.DBus.Local)signal_namer   dbus_interface)allow_replacementreplace_existingdo_not_queuez%Malformed JSON given for parameters: 
z%JSON parameters must be a dictionary
Darwinzlibglib-2.0.dylibzlibglib-2.0.so.0c                    \         P                  ! V4      '       d+   \        P                  \         P                  ! V4      4       M\        P                  ^4       \
        P                  4        R# )z,Check if the launched process is still aliveN)os	WIFEXITEDexit_statusaddWEXITSTATUS
should_runpop)_pidstatuss   &&r   on_process_watchr3      s>     <<''OOBNN6$:;OOA& r   )R__doc__
__author____copyright__r   jsonr*   platform
subprocesssysdbusmock.mockobjectdbusmockdbusmock.testcaser   __name__ctypesdbus.mainloop.glibdbusdbus.serviceargsmainloopglibDBusGMainLoopr   
system_busr   
mockobjectload_modulemoduleBUS_NAMEr
   MAIN_OBJr   r   
SYSTEM_BUShasattrr   is_object_managerOBJECT_MANAGER_IFACEr   r    testcaseDBusTestCaseget_dbusbusr/   add_signal_receiverr0   serviceBusNamebus_nameDBusMockObjectlogfilemain_object
parametersloads
ValueErrordetailstderrwriteexit
isinstancedictAddTemplatecdllLoadLibrarylibglibobjectsexecPopen	exec_procsetr,   	CFUNCTYPEc_intr3   g_child_watch_addpidg_main_context_iteration	terminatewaitProcessLookupError
returncode r   r   <module>rx      s   / 

   	   
  K\ z<DMM$$D$9J}}}$$00?OO	OO	|||DKKK**J6.//%+%=%=D"%*D"!!!'&,*G*G%00EEDN#..DN



(
(
1
1*
=C J"*3	   ||##DIIsd]apt#uH%%44$))T^^Rt?U?UK J	DOO4J
 *d++JJEFHHQK}}}z:H$++))*=>++))*<=-8H		*yyydii((I%KdFLL&,,?! @! %%imm5EF00t<##%  HH+[__&9;O;OP- )(0 ,,T48 w `  	JJDVHBOPHHQKK	N & ) )((sU   Q 0AR0
R0 R#?R0 R0R $1RR #R-*R0,R--R00S	