Ejemplo n.º 1
0
        protected override void BeginProcessing()
        {
            base.BeginProcessing();

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

            _executor.BeginProcessing();
        }
Ejemplo n.º 2
0
        protected override void BeginProcessing()
        {
            base.BeginProcessing();

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

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