public override Task <ProbeResponse> Probe(ProbeRequest request, ServerCallContext context)
        {
            var rsp = new ProbeResponse
            {
                //todo ready check
                //Ready = true
            };

            return(Task.FromResult(rsp));
        }
Esempio n. 2
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);
        }