def unexportObject(self, objectPath):
        """
        @type objectPath: C{string}
        @param objectPath: Object to stop exporting
        """

        o = self.exports[objectPath]
        del self.exports[objectPath]

        i = [iface.name for iface in o.getInterfaces()]

        msig = message.SignalMessage(
            o.getObjectPath(),
            'InterfacesRemoved',
            'org.freedesktop.DBus.ObjectManager',
            signature='sas',
            body=[o.getObjectPath(), i],
        )

        self.conn.sendMessage(msig)
def unexportObject ( self , objectPath ) : o = self . exports [ objectPath ] del self . exports [ objectPath ] i = [ iface . name for iface in o . getInterfaces ( ) ] msig = message . SignalMessage ( o . getObjectPath ( ) , 'InterfacesRemoved' , 'org.freedesktop.DBus.ObjectManager' , signature = 'sas' , body = [ o . getObjectPath ( ) , i ] , ) self . conn . sendMessage ( msig )
@type objectPath: C{string}
        @param objectPath: Object to stop exporting