public XmppTournamentManagerHost(RoundRobinTournamentManager tournamentManager, XmppClientConnection xmppConnection)
     : base(xmppConnection)
 {
     TournamentManager = tournamentManager;
     TournamentManager = tournamentManager;
     TournamentManager.TournamentStarted += TournamentStartedHandler;
     TournamentManager.GameBotCreated += GameBotCreatedHandler;
 }
Exemplo n.º 2
0
        public void SetupAsServer()
        {
            TournamentManager = new RoundRobinTournamentManager();
            XmppHost = new XmppTournamentManagerHost(TournamentManager, XmppConnection);
            XmppConnection = XmppHost.Connection;

            SetupErrrorHandling();

            IsServer = true;
        }