Akka.Streams.Tests.IO.TcpHelper.Server.Server C# (CSharp) 메소드

Server() 공개 메소드

public Server ( Akka.TestKit.TestKitBase testkit, EndPoint address = null ) : System
testkit Akka.TestKit.TestKitBase
address System.Net.EndPoint
리턴 System
            public Server(TestKitBase testkit, EndPoint address = null)
            {
                _testkit = testkit;
                Address = address ?? TestUtils.TemporaryServerAddress();

                ServerProbe = testkit.CreateTestProbe();
                ServerRef = testkit.ActorOf(TestServerProps(Address, ServerProbe.Ref));
                ServerProbe.ExpectMsg<Tcp.Bound>();
            }