Mercurial > libervia-pubsub
annotate idavoll/tap.py @ 41:ea3d3544a52e
Rewrite using separated backend interfaces. The backend also uses a separate
class for the actual storage.
author | Ralph Meijer <ralphm@ik.nu> |
---|---|
date | Sun, 31 Oct 2004 21:11:03 +0000 |
parents | 4cc41776b7d7 |
children | 7d088c61e131 |
rev | line source |
---|---|
1 | 1 from twisted.application import internet, service |
2 from twisted.internet import interfaces | |
3 from twisted.python import usage | |
4 import idavoll | |
5 | |
6 class Options(usage.Options): | |
7 optParameters = [ | |
8 ('jid', None, 'pubsub'), | |
9 ('secret', None, None), | |
10 ('rhost', None, '127.0.0.1'), | |
11 ('rport', None, '6000') | |
12 ] | |
13 | |
14 def makeService(config): | |
15 return idavoll.makeService(config) |