protected GearmanConnectionManager(ClusterConfigurationElement clusterConfiguration) : this() { if (clusterConfiguration == null) throw new ArgumentNullException("clusterConfiguration"); ParseConfiguration(clusterConfiguration); }
public GearmanThreadedWorker(ClusterConfigurationElement clusterConfiguration) : base(clusterConfiguration) { _workLoopThread = new Thread(WorkLoopThreadProc); }
private void ParseConfiguration(ClusterConfigurationElement cluster) { foreach (ServerConfigurationElement server in cluster.Servers) { AddServer(server.Host, server.Port); } }