Exemple #1
0
        def ok( ifaces ):
            
            missing = required_interfaces - set( [ q.name for q in ifaces ] )
            
            if missing:
                raise error.IntrospectionFailed('Introspection failed to find interfaces: ' +
                                                     ','.join(missing))

            prox = RemoteDBusObject( self, busName, objectPath, ifaces )

            self._weakProxies[ weak_id ] = prox
            
            return prox
Exemple #2
0
 def err(e):
     raise error.IntrospectionFailed('Introspection Failed: ' +
                                     e.getErrorMessage())