| TestConductorStartClient Method |
Connect to the conductor on the given port (the host is taken from setting
`akka.testconductor.host`). The connection is made asynchronously, but you
should await completion of the returned Future because that implies that
all expected participants of this test have successfully connected (i.e.
this is a first barrier in itself). The number of expected participants is
set in
TestConductor`.startController()`.
Namespace:
Akka.Remote.TestKit
Assembly:
Akka.Remote.TestKit (in Akka.Remote.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public Task<Done> StartClient(
RoleName name,
IPEndPoint controllerAddr
)
member StartClient :
name : RoleName *
controllerAddr : IPEndPoint -> Task<Done>
Parameters
- name
- Type: Akka.Remote.TestKitRoleName
[Missing <param name="name"/> documentation for "M:Akka.Remote.TestKit.TestConductor.StartClient(Akka.Remote.TestKit.RoleName,System.Net.IPEndPoint)"]
- controllerAddr
- Type: System.NetIPEndPoint
[Missing <param name="controllerAddr"/> documentation for "M:Akka.Remote.TestKit.TestConductor.StartClient(Akka.Remote.TestKit.RoleName,System.Net.IPEndPoint)"]
Return Value
Type:
TaskDone[Missing <returns> documentation for "M:Akka.Remote.TestKit.TestConductor.StartClient(Akka.Remote.TestKit.RoleName,System.Net.IPEndPoint)"]
See Also