/// <summary> /// Create a SnppClientProtocol object pointing to a single unnamed configured server. /// </summary> public SnppClient() : this(SnppConfig.GetHost(null), SnppConfig.GetPort(null)) { Client = new SnppClientProtocol(null); LoginId = SnppConfig.GetLoginId(null); Password = SnppConfig.GetPassword(null); }
/// <summary> /// Create a SnppClient object pointing to a named configured server. /// </summary> /// <param name="name">The name of the configured server.</param> public SnppClient(string name) : this(SnppConfig.GetHost(name), SnppConfig.GetPort(name)) { Client = new SnppClientProtocol(name); LoginId = SnppConfig.GetLoginId(name); Password = SnppConfig.GetPassword(name); }
/// <summary> /// Create a SnppClientProtocol object pointing to a single unnamed configured server. /// </summary> public SnppClientProtocol() : this(SnppConfig.GetHost(null), SnppConfig.GetPort(null)) { }
/// <summary> /// Create a SnppClientProtocol object pointing to a named configured server. /// </summary> /// <param name="name">The name of the configured server.</param> public SnppClientProtocol(string name) : this(SnppConfig.GetHost(name), SnppConfig.GetPort(name)) { }
/// <summary> /// Create a SnppServer object pointing to a single unnamed configured server. /// </summary> public SnppServer() : this(SnppConfig.GetPort(null)) { }
/// <summary> /// Create a SnppServer object pointing to a named configured server. /// </summary> /// <param name="name">The name of the configured server.</param> public SnppServer(string name) : this(SnppConfig.GetPort(name)) { }