Esempio n. 1
0
    def __init__(self, devide_app):
        self.devide_app = devide_app

        # initialise logging mixin
        LoggingMixin.__init__(self)

        print "Initialising script interface..."
Esempio n. 2
0
    def __init__(self, devide_app):
        self.devide_app = devide_app

        # initialise logging mixin
        LoggingMixin.__init__(self)

        print "Initialising script interface..."
Esempio n. 3
0
    def __init__(self, devide_app):
        self._devide_app = devide_app

        # initialise logging mixin
        LoggingMixin.__init__(self)

        print "Initialising XMLRPC..."
        # without real IP number, this is only available via localhost
        self.server = SimpleXMLRPCServer(('localhost', 8000))
        self.server.register_instance(ServerProxy())