Beispiel #1
0
        public IcebotChannel(IcebotServer server, IcebotChannelConfiguration conf)
        {
            PublicCommands = new IcebotCommandsContainer();
            Configuration = conf;

            Server = server;
        }
Beispiel #2
0
 public void Connect()
 {
     if (servers.Count != 0)
         return;
     foreach (IcebotServerConfiguration s in config.Servers)
     {
         IcebotServer serv = new IcebotServer(this, s);
         servers.Add(serv);
         serv.Connect();
     }
 }