Akka.Tests.IO.TcpIntegrationSpec.TestSetup.TestSetup C# (CSharp) 메소드

TestSetup() 공개 메소드

public TestSetup ( AkkaSpec spec, bool shouldBindServer = true ) : System
spec AkkaSpec
shouldBindServer bool
리턴 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();
            }