public void Setup()
        {
            Client = new ClientMock();

            RabbitServer = new RabbitBroadcasterPublisher<IClientTest>(ConnectionString, BrokerId, Topic);
            RabbitClient = new RabbitBroadcasterSubscriber<IClientTest>(ConnectionString, BrokerId, Client, Topic);
            ClientProxy = RabbitServer.GetClientProxy();

            RabbitServer.Connect();
            RabbitClient.Connect();
        }
예제 #2
0
        public void Setup()
        {
            Client = new ClientMock();

            RabbitServer = new RabbitBroadcasterPublisher <IClientTest>(ConnectionString, BrokerId, Topic);
            RabbitClient = new RabbitBroadcasterSubscriber <IClientTest>(ConnectionString, BrokerId, Client, Topic);
            ClientProxy  = RabbitServer.GetClientProxy();

            RabbitServer.Connect();
            RabbitClient.Connect();
        }