예제 #1
0
파일: objects.py 프로젝트: pliu6/txdbus
        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
예제 #2
0
 def err(e):
     raise error.IntrospectionFailed('Introspection Failed: ' +
                                     e.getErrorMessage())