protected override void BeginProcessing() { base.BeginProcessing(); if (_async.IsPresent) { _executor = new PingExecutorAsync(this); } else { _executor = new PingExecutorSync(this); } _executor.BeginProcessing(); }
public PingTaskSync(PingExecutor exec, IPAddress address) : base(exec, address) { }
public PingTaskSync(PingExecutor exec, IPHostEntry host) : base(exec, host) { }
private PingTaskBase(PingExecutor executor) { _executor = executor; _options = new PingOptions(executor.Command.TTL, false); }
protected PingTaskBase(PingExecutor executor, IPAddress address) : this(executor) { _address = address; }
protected PingTaskBase(PingExecutor executor, IPHostEntry host) : this(executor) { _host = host; }