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();
        }
Exemplo n.º 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();
        }