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

class Options (usage.Options):
	optParameters = [
		['wshost', None, "localhost", "Listening host for WAMP websockets"],
		['wsport', None, 9000, "Listening port for WAMP websockets"],
		['port', None, 8001, "Listening port for web connections"],
		['consoleport', None, 4040, "Listening port for console SSH connections"]
	]

	optFlags = [['ssl', 's']]

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