Example #1
0
        public void InitFixture()
        {
            ConsoleTraceListener myWriter = new ConsoleTraceListener();

            Debug.Listeners.Add(myWriter);
            Node n = new StructuredNode(new AHAddress(new RNGCryptoServiceProvider()));

            _rpc    = XmlRpcManagerClient.GetXmlRpcManager("127.0.0.1", Port, "xm.rem", true);
            _mrm    = MockRpcManager.GetInstance(n);
            _server = new XmlRpcManagerServer(Port);
            _server.Add(n, _mrm, "xm1.rem");
            Debug.WriteLine(string.Format("Server started at {0}", Port));
        }