示例#1
0
文件: tap.py 项目: wyn/collab
def makeService(config):
    # create XMPP external component
    s, cs = base.makeServiceAndComponent(config)

    j = config['jid']
    log.msg('Creating Portfolios Manager')
    mngr = mng.CorrelatedDefaultsManager(jid=jid.JID(j), name='Portfolios Manager')
    mngr.setHandlerParent(cs)

    return s
示例#2
0
文件: tap.py 项目: wyn/collab
def makeService(config):
    # create XMPP external component
    s, cs = base.makeServiceAndComponent(config)

    j = config['jid']
    log.msg('Creating Collab system manager')
    mngr = csm.CollabSystemManager(jid=jid.JID(j), name='Collab System Manager')
    mngr.setHandlerParent(cs)

    return s
示例#3
0
文件: tap.py 项目: wyn/collab
def makeService(config):
    # create XMPP external component
    s, cs = base.makeServiceAndComponent(config)

    j = config['jid']
    log.msg('Creating Distributions Manager')
    mngr = mng.DistributionsManager(jid=jid.JID(j), name='Distributions Manager')
    mngr.setHandlerParent(cs)

    return s
示例#4
0
文件: tap.py 项目: wyn/collab
def makeService(config):
    # create XMPP external component
    s, cs = base.makeServiceAndComponent(config)

    j = config['jid']
    log.msg('Creating Collab VaR Proxy')
    mngr = mng.CollabProxy(jid=jid.JID(j), name='Collab VaR Proxy')
    mngr.setHandlerParent(cs)

    return s