Opc.Ua.SessionEndpoint.TranslateBrowsePathsToNodeIds C# (CSharp) Method

TranslateBrowsePathsToNodeIds() public method

Invokes the TranslateBrowsePathsToNodeIds service.
public TranslateBrowsePathsToNodeIds ( IServiceRequest incoming ) : IServiceResponse
incoming IServiceRequest
return IServiceResponse
        public IServiceResponse TranslateBrowsePathsToNodeIds(IServiceRequest incoming)
        {
            TranslateBrowsePathsToNodeIdsResponse response = null;

            try
            {
                OnRequestReceived(incoming);

                TranslateBrowsePathsToNodeIdsRequest request = (TranslateBrowsePathsToNodeIdsRequest)incoming;

                BrowsePathResultCollection results = null;
                DiagnosticInfoCollection diagnosticInfos = null;

                response = new TranslateBrowsePathsToNodeIdsResponse();

                response.ResponseHeader = ServerInstance.TranslateBrowsePathsToNodeIds(
                   request.RequestHeader,
                   request.BrowsePaths,
                   out results,
                   out diagnosticInfos);

                response.Results         = results;
                response.DiagnosticInfos = diagnosticInfos;
            }
            finally
            {
                OnResponseSent(response);
            }

            return response;
        }

Same methods

SessionEndpoint::TranslateBrowsePathsToNodeIds ( TranslateBrowsePathsToNodeIdsMessage request ) : TranslateBrowsePathsToNodeIdsResponseMessage
SessionEndpoint