예제 #1
0
        public void Setup()
        {
            Server = new ServerMock();

            RabbitRpcServer = new RabbitRpcServer <IServerTest>(ConnectionString, BrokerId, Server);
            RabbitRpcClient = new RabbitRpcClient <IServerTest>(ConnectionString, BrokerId);
            ServerProxy     = RabbitRpcClient.GetServerProxy();

            RabbitRpcServer.Connect();
            RabbitRpcClient.Connect();
        }
        public void Setup()
        {
            Server = new ServerMock();

            RabbitRpcServer = new RabbitRpcServer<IServerTest>(ConnectionString, BrokerId, Server);
            RabbitRpcClient = new RabbitRpcClient<IServerTest>(ConnectionString, BrokerId);
            ServerProxy = RabbitRpcClient.GetServerProxy();

            RabbitRpcServer.Connect();
            RabbitRpcClient.Connect();
        }