public override Task <ProbeResponse> ProbeRecipient(ProbeRequest request, ServerCallContext context)
 {
     WorkerLog.Instance.Information($"Someone is trying to verify this point");
     return(Task.FromResult(new ProbeResponse {
         MachineName = Environment.MachineName
     }));
 }
        public override Task <ProbeResponse> Probe(ProbeRequest request, ServerCallContext context)
        {
            var rsp = new ProbeResponse
            {
                //todo ready check
                //Ready = true
            };

            return(Task.FromResult(rsp));
        }
Example #3
0
        public ProbeMatchType[] Probe(string Types, ScopesType Scopes, ref System.Xml.XmlElement[] Any, ref System.Xml.XmlAttribute[] AnyAttr)
        {
            ProbeRequest inValue = new ProbeRequest();

            inValue.Types   = Types;
            inValue.Scopes  = Scopes;
            inValue.Any     = Any;
            inValue.AnyAttr = AnyAttr;
            ProbeResponse retVal = ((DiscoveryLookupPort)(this)).Probe(inValue);

            Any     = retVal.Any;
            AnyAttr = retVal.AnyAttr;
            return(retVal.ProbeMatch);
        }
Example #4
0
 public override Task <ProbeResponse> Probe(ProbeRequest request, ServerCallContext context)
 => Task.FromResult(probe);
Example #5
0
 ProbeResponse DiscoveryLookupPort.Probe(ProbeRequest request)
 {
     return(base.Channel.Probe(request));
 }