Beispiel #1
0
 def _listenServer(self, d):
     factory = WampServerFactory('ws://localhost:9000', debugWamp=True)
     factory.protocol = ServerProtocol
     factory.onConnectionLost = d
     return listenWS(factory)