/// <summary> /// Check whether a parameter exists /// </summary> /// <param name="parms"></param> /// <param name="result"></param> public void hasParam([In][Out] IntPtr parms, [In][Out] IntPtr result) { XmlRpcValue res = XmlRpcValue.Create(ref result), parm = XmlRpcValue.Create(ref parms); res.Set(0, 1); res.Set(1, "hasParam"); String caller_id = parm[0].GetString(); String topic = parm[1].GetString(); res.Set(2, handler.hasParam(caller_id, topic)); }
/// <summary> /// Check whether a parameter exists /// </summary> /// <param name="parms"></param> /// <param name="result"></param> public XmlRpcValue hasParam(String caller_id, String topic) { XmlRpcValue res = new XmlRpcValue();//XmlRpcValue.Create(ref result), parm = XmlRpcValue.Create(ref parms); res.Set(0, 1); res.Set(1, "hasParam"); //String caller_id = parm[0].GetString(); //String topic = parm[1].GetString(); res.Set(2, handler.hasParam(caller_id, topic)); return(res); }