using System; using System.Collections.Generic; using System.Configuration; using System.Text; using SuperSocket.Common; using SuperSocket.SocketBase.Config; namespace SuperSocket.SocketEngine.Configuration { /// /// Server configuration collection /// [ConfigurationCollection(typeof(Server), AddItemName = "server")] public class ServerCollection : GenericConfigurationElementCollection { /// /// Adds the new server element. /// /// The new server. public void AddNew(Server newServer) { base.BaseAdd(newServer); } /// /// Removes the specified server from the configuration. /// /// The name. public void Remove(string name) { base.BaseRemove(name); } } }