input: Write a python function to set up an Autobahn|Python WAMPv2 server.
  assert wampServ("ws://localhost:8080", "tcp:8080") is None
output: def wampServ(websocket_url, tcp_url):
      from autobahn.asyncio.wamp import ApplicationSession, ApplicationRunner
      from autobahn.asyncio.websocket import WampWebSocketServerFactory
      from autobahn.asyncio.rawsocket import WampRawSocketServerFactory
      import asyncio
  
      class MyComponent(ApplicationSession):
          async def onJoin(self, details):
              print("Session joined")
  
      def start_server():
          loop = asyncio.get_event_loop()
  
          websocket_factory = WampWebSocketServerFactory(MyComponent)
          tcp_factory = WampRawSocketServerFactory(MyComponent)
  
          server_coro_websocket = loop.create_server(websocket_factory, 'localhost', 8080)
          server_coro_tcp = loop.create_server(tcp_factory, 'localhost', 8080)
  
          loop.run_until_complete(server_coro_websocket)
          loop.run_until_complete(server_coro_tcp)
  
          try:
              loop.run_forever()
          except KeyboardInterrupt:
              pass
          finally:
              loop.close()
  
      start_server()