public NpTests() { _tester = new NetTester(); _nphost = new NpHost(PipeName); _nphost.AddService <INetTester>(_tester); _nphost.Open(); }
public TcpZkTests() { _tester = new NetTester(); _ipAddress = IPAddress.Parse("127.0.0.1"); _tcphost = new TcpHost(CreateEndPoint(), zkRepository: _repo); _tcphost.AddService <INetTester>(_tester); _tcphost.Open(); }