public Server(string filename) { _servers = new List<ServerMetadata>(); ReadConfigurationFile(filename); action = new ServerAction(this._username); lookup = new ServerLookup(this._username, action, _servers); facade = new ServerFacade(this._username, _port, action, lookup, _servers); }
public Server(string filename) { _servers = new List <ServerMetadata>(); ReadConfigurationFile(filename); action = new ServerAction(this._username); lookup = new ServerLookup(this._username, action, _servers); facade = new ServerFacade(this._username, _port, action, lookup, _servers); }
public ServerFacade(string username, int port, ServerAction action, ServerLookup lookup, List <ServerMetadata> _servers) { this._username = username; this.action = action; this.lookup = lookup; this._port = port; this._servers = _servers; _isOnline = true; }
public ServerFacade(string username, int port, ServerAction action, ServerLookup lookup, List<ServerMetadata> _servers) { this._username = username; this.action = action; this.lookup = lookup; this._port = port; this._servers = _servers; _isOnline = true; }
public Server(string username, int port, string path, string configFile) { _username = username; _port = port; _path = path; _configFile = _path + configFile; _servers = new List<ServerMetadata>(); ReadConfigurationFile(); action = new ServerAction(_username); lookup = new ServerLookup(this._username, action, _servers); facade = new ServerFacade(this._username, _port, action, lookup, _servers); }
public Server(string username, int port, string path, string configFile) { _username = username; _port = port; _path = path; _configFile = _path + configFile; _servers = new List <ServerMetadata>(); ReadConfigurationFile(); action = new ServerAction(_username); lookup = new ServerLookup(this._username, action, _servers); facade = new ServerFacade(this._username, _port, action, lookup, _servers); }