Exemplo n.º 1
0
        public static string CallORNGRPC(string guid, string request)
        {
            DebugLogging.Log("CallORNGRPC " + guid + ":" + request);
            ORNGRPCService responder = ORNGRPCService.GetRPCService(new Guid(guid));
            string         retval    = responder != null?responder.call(request) : null;

            DebugLogging.Log("CallORNGRPC " + (responder == null ? "ORNGRPCService not found! guid =" : guid));
            return(retval != null ? retval : "");
        }
Exemplo n.º 2
0
        public static string CallORNGRPC(string guid, string channel, string opt_params)
        {
            DebugLogging.Log("CallORNGRPC " + guid + ":" + channel);
            ORNGRPCService responder = ORNGRPCService.GetRPCService(new Guid(guid), channel);
            string         retval    = responder != null?responder.call(channel, opt_params) : null;

            DebugLogging.Log("CallORNGRPC " + (responder == null ? "ORNGRPCService not found! guid =" : guid));
            return(retval != null ? retval : "");
        }