Beispiel #1
0
def main() :
	component = SimpleComponent(
		jid = "im.partych.at", password = "******",
		server = "127.0.0.1", port = 5275, backend = None)
	component.start()
	httpFrontend = HTTPFrontend(8080, None)
	httpFrontend.start()
def main() :
	backend = SimpleBackend()
	component = Component(
		jid = "test@gic", password = "******",
		server = "147.102.6.34", port = 5222, backend = backend)
	component.start()
	httpFrontend = HTTPFrontend(8081, backend)
	httpFrontend.start()
def main() :
	backend = SimpleBackend()
	component = Component(
		jid = "posts.cheshir.lit", password = "******",
		server = "cheshir.lit", port = 5347, backend = backend)
	component.start()
	httpFrontend = HTTPFrontend(8080, backend)
	httpFrontend.start()
def main() :
	backend = SimpleBackend()
	component = SimpleComponent(
		jid = "posts.cheshir.lit", password = "******",
		server = "cheshir.lit", port = 5347, backend = backend)
	component.start()
	httpFrontend = HTTPFrontend(8080, backend)
	httpFrontend.start()
def main() :
	backend = SimpleBackend()
	backend.jidToUser = {}
	backend.userToJID = {}
	component = RegistrableComponent(
		jid = "publishsubscribe@facebooknode", password = "******",
		server = "147.102.6.34", port = 5060, backend = backend)
	component.start()
	httpFrontend = HTTPFrontend(8080, backend)
	httpFrontend.start()
def main() :
	backend = SimpleBackend()
	backend.jidToUser = {}
	backend.userToJID = {}
	component = RegistrableComponent(
		jid = "test@gic", password = "******",
		server = "147.102.6.34", port = 5222, backend = backend)
	component.start()
	httpFrontend = HTTPFrontend(8080, backend)
	httpFrontend.start()
def main() :
	backend = SimpleBackend()
	backend.jidToUser = {}
	backend.userToJID = {}
	component = RegistrableComponent(
		jid = "posts.cheshir.lit", password = "******",
		server = "cheshir.lit", port = 5347, backend = backend)
	component.start()
	httpFrontend = HTTPFrontend(8080, backend)
	httpFrontend.start()
Beispiel #8
0
def main():
    backend = SimpleBackend()
    component = Component(jid="test@gic",
                          password="******",
                          server="147.102.6.34",
                          port=5222,
                          backend=backend)
    component.start()
    httpFrontend = HTTPFrontend(8081, backend)
    httpFrontend.start()
def main():
    backend = SimpleBackend()
    backend.jidToUser = {}
    backend.userToJID = {}
    component = RegistrableComponent(jid="test@gic",
                                     password="******",
                                     server="147.102.6.34",
                                     port=5222,
                                     backend=backend)
    component.start()
    httpFrontend = HTTPFrontend(8080, backend)
    httpFrontend.start()
def main() :
	backend = SimpleBackend()
	bot = ConfigurableBot("test@gic", "test", backend, server="147.102.6.34")
	bot.start()
	httpFrontend = HTTPFrontend(8080, backend)
	httpFrontend.start()
Beispiel #11
0
def main():
    component = SimpleComponent(jid="im.partych.at", password="******", server="127.0.0.1", port=5275, backend=None)
    component.start()
    httpFrontend = HTTPFrontend(8080, None)
    httpFrontend.start()
Beispiel #12
0
def main() :
	backend = SimpleBackend()
	bot = Bot("mpetyx@gic", "emp", backend, "147.102.6.34")
	bot.start()
	httpFrontend = HTTPFrontend(8080, backend)
	httpFrontend.start()
Beispiel #13
0
def main() :
	backend = SimpleBackend()
	bot = Bot("*****@*****.**", "mypass", backend, "http://cheshir.lit")
	bot.start()
	httpFrontend = HTTPFrontend(8080, backend)
	httpFrontend.start()