예제 #1
0
 def makeService(self, config):
     return service.makeService(config)
예제 #2
0
 def makeService(self, config):
     return service.makeService(config)
예제 #3
0
파일: tac.py 프로젝트: GennadySpb/wiremaps
from twisted.application import service
from wiremaps.core import service as ws

application = service.Application('wiremaps')
ws.makeService({"config": "/etc/wiremaps/wiremaps.cfg",
                "interface": '127.0.0.1',
                "port": 8087}).setServiceParent(
    service.IServiceCollection(application))