added some stubs for backend threading

This commit is contained in:
Johannes Findeisen 2013-10-20 03:19:21 +02:00
commit 3a4c4c412e
3 changed files with 21 additions and 6 deletions

View file

@ -28,12 +28,13 @@ import logging
import logging.handlers
import os
import os.path as path
import threading
from linspector.core.interface import LinspectorInterface
from linspector.config.parser import FullConfigParser
from linspector.core.job import Job
from linspector.core.scheduler import Scheduler
from linspector.backends.https import HttpsBackend
from linspector.backends.jsonrpc import JsonrpcBackend
from linspector.frontends.lish import LishFrontend
@ -123,6 +124,9 @@ def main():
job.set_logger(log)
jobs.append(job)
#x = JsonrpcBackend()
#x.daemon = True
#x.start()
#TODO: Load Backend Threads here before initializing the frontend.
'''
for backend in backends.enabled