예제 #1
0
        //return engine activity
        public static string GetEngineActivity(string engineName)
        {
            //try to open connexion to the engine
            EngineClient client = EngineClientFromPool(engineName);

            if (client == null)
            {
                return(null);
            }

            string activityXML = client.GetServerActivity();

            //return client to pool
            EngineClientToPool(client);

            return(activityXML);
        }