Example #1
0
        /// <summary>
        /// makes Sonar and memory Proxies
        /// </summary>
        /// <param name="ip"></param>
        public Sonar(String ip)
        {
            sonarProxy  = new SonarProxy(ip, 9559);
            memoryProxy = new MemoryProxy(ip, 9559);

            ActivateSonar();
        }
Example #2
0
        /// <summary>
        /// makes Sonar and memory Proxies
        /// </summary>
        /// <param name="ip"></param>
        public Sonar(String ip)
        {
            sonarProxy = new SonarProxy(ip, 9559);
                memoryProxy = new MemoryProxy(ip, 9559);

                ActivateSonar();
        }
Example #3
0
        /// <summary>
        /// Unsubscribes from any sonar proxies.
        /// </summary>
        private static void UnsubscribeSonarProxies()
        {
            SonarProxy sonar = Proxies.GetProxy <SonarProxy>();

            foreach (ArrayList sub in (ArrayList)sonar.getSubscribersInfo())
            {
                sonar.unsubscribe(sub[0].ToString());
            }
        }