Akka.Tests.IO.TcpIntegrationSpec.TestSetup.TestSetup C# (CSharp) Method

TestSetup() public method

public TestSetup ( AkkaSpec spec, bool shouldBindServer = true ) : System
spec AkkaSpec
shouldBindServer bool
return System
            public TestSetup(AkkaSpec spec, bool shouldBindServer = true)
            {
                BindOptions =  Enumerable.Empty<Inet.SocketOption>();
                ConnectOptions = Enumerable.Empty<Inet.SocketOption>(); 
                _spec = spec;
                _shouldBindServer = shouldBindServer;
                _bindHandler = _spec.CreateTestProbe();
                _endpoint = TestUtils.TemporaryServerAddress();
            }