Beispiel #1
0
 public Host(string uri)
     : base(uri, new ServerConfig())
 {
     _broadcastService = Aspects.WithTimeMeasure(BroadcastRemoteExecutor.Create <IBroadcastService>(), ConsoleColor.DarkCyan);
     ConnectionClosed += OnConnectionClose;
 }
 public void SetUp()
 {
     _broadcastChannel = new MockBroadcastChannel();
     _subject          = new BroadcastRemoteExecutor(_broadcastChannel, new DefaultMessageFactory());
 }