Exemple #1
0
        /// <summary>
        /// Gets a list of available schedulers
        /// </summary>
        /// <returns>an array of names of available schedulers</returns>
        public SchedulerDescription[] GetAvailableSchedulers()
        {
            return(proxy.GetAvailableSchedulers());

            /*Future<object> retVal = client.CallRemoteMethod(managementObjectName, "GetAvailableSchedulers", null);
             * object obj = retVal.Result;
             * if (retVal.Success)
             * {
             *  return (SchedulerDescription[]) obj;
             * }
             *
             * throw new Exception(retVal.Exception.ToString());
             * //return null;*/
        }