diff idavoll/tap.py @ 1:4cc41776b7d7

Initial revision
author Ralph Meijer <ralphm@ik.nu>
date Wed, 23 Jun 2004 14:31:49 +0000
parents
children 7d088c61e131
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/idavoll/tap.py	Wed Jun 23 14:31:49 2004 +0000
@@ -0,0 +1,15 @@
+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)