예제 #1
0
        protected override void BeginProcessing()
        {
            base.BeginProcessing();

            if (_async.IsPresent)
            {
                _executor = new PingExecutorAsync(this);
            }
            else
            {
                _executor = new PingExecutorSync(this);
            }

            _executor.BeginProcessing();
        }
예제 #2
0
        protected override void BeginProcessing()
        {
            base.BeginProcessing();

            if (_async.IsPresent)
            {
                _executor = new PingExecutorAsync(this);
            }
            else
            {
                _executor = new PingExecutorSync(this);
            }

            _executor.BeginProcessing();
        }
예제 #3
0
 public PingTaskSync(PingExecutor exec, IPAddress address)
     : base(exec, address)
 {
 }
예제 #4
0
 public PingTaskSync(PingExecutor exec, IPAddress address)
     : base(exec, address)
 {
 }
예제 #5
0
 public PingTaskSync(PingExecutor exec, IPHostEntry host)
     : base(exec, host)
 {
 }
예제 #6
0
 private PingTaskBase(PingExecutor executor)
 {
     _executor = executor;
     _options = new PingOptions(executor.Command.TTL, false);
 }
예제 #7
0
 public PingTaskSync(PingExecutor exec, IPHostEntry host)
     : base(exec, host)
 {
 }
예제 #8
0
 protected PingTaskBase(PingExecutor executor, IPAddress address)
     : this(executor)
 {
     _address = address;
 }
예제 #9
0
 protected PingTaskBase(PingExecutor executor, IPHostEntry host)
     : this(executor)
 {
     _host = host;
 }
예제 #10
0
 private PingTaskBase(PingExecutor executor)
 {
     _executor = executor;
     _options  = new PingOptions(executor.Command.TTL, false);
 }
예제 #11
0
 protected PingTaskBase(PingExecutor executor, IPAddress address)
     : this(executor)
 {
     _address = address;
 }
예제 #12
0
 protected PingTaskBase(PingExecutor executor, IPHostEntry host)
     : this(executor)
 {
     _host = host;
 }