view idavoll/tap.py @ 30:ff7c73b253bf

Recode backend to match interaces: one big Service that handles everything and several skeleton Services that declare the interface that they implement along with passing on calls to the 'implemented' methods.
author Ralph Meijer <ralphm@ik.nu>
date Tue, 26 Oct 2004 16:28:07 +0000
parents 4cc41776b7d7
children 7d088c61e131
line wrap: on
line source

from twisted.application import internet, service
from twisted.internet import interfaces
from twisted.python import usage
import idavoll

class Options(usage.Options):
	optParameters = [
		('jid', None, 'pubsub'),
		('secret', None, None),
		('rhost', None, '127.0.0.1'),
		('rport', None, '6000')
	]

def makeService(config):
	return idavoll.makeService(config)