comparison idavoll/tap.py @ 155:5191ba7c4df8

Work towards first release 0.5.0. - Add licensing information (MIT) - Improve installation instructions. - Use new plugins framework in twisted.
author Ralph Meijer <ralphm@ik.nu>
date Mon, 21 Aug 2006 16:05:35 +0000
parents cf918d581da5
children 6250905b72f6
comparison
equal deleted inserted replaced
154:bd8e58c73370 155:5191ba7c4df8
1 # Copyright (c) 2003-2006 Ralph Meijer
2 # See LICENSE for details.
3
1 from twisted.application import internet, service 4 from twisted.application import internet, service
2 from twisted.internet import interfaces 5 from twisted.internet import interfaces
3 from twisted.python import usage 6 from twisted.python import usage
4 import idavoll 7 import idavoll
5 8
6 class Options(usage.Options): 9 class Options(usage.Options):
7 optParameters = [ 10 optParameters = [
8 ('jid', None, 'pubsub'), 11 ('jid', None, 'pubsub'),
9 ('secret', None, None), 12 ('secret', None, 'secret'),
10 ('rhost', None, '127.0.0.1'), 13 ('rhost', None, '127.0.0.1'),
11 ('rport', None, '6000'), 14 ('rport', None, '5347'),
12 ('backend', None, 'memory'), 15 ('backend', None, 'memory'),
13 ('dbuser', None, ''), 16 ('dbuser', None, ''),
14 ('dbname', None, 'pubsub'), 17 ('dbname', None, 'pubsub'),
15 ] 18 ]
16 19