public interface Player
TestConductorExt
extension. It registers with
the Conductor
’s Controller
in order to participate in barriers and enable network failure injection.Modifier and Type | Method and Description |
---|---|
ActorRef |
client() |
void |
enter(scala.collection.Seq<java.lang.String> name)
Enter the named barriers, one after the other, in the order given.
|
void |
enter(Timeout timeout,
scala.collection.immutable.Seq<java.lang.String> name)
Enter the named barriers, one after the other, in the order given.
|
scala.concurrent.Future<Address> |
getAddressFor(RoleName name)
Query remote transport address of named node.
|
scala.concurrent.Future<Done> |
startClient(RoleName name,
java.net.InetSocketAddress controllerAddr)
Connect to the conductor on the given port (the host is taken from setting
akka.testconductor.host ). |
ActorRef client()
scala.concurrent.Future<Done> startClient(RoleName name, java.net.InetSocketAddress controllerAddr)
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 Conductor
.startController()
.name
- (undocumented)controllerAddr
- (undocumented)void enter(scala.collection.Seq<java.lang.String> name)
name
- (undocumented)void enter(Timeout timeout, scala.collection.immutable.Seq<java.lang.String> name)
timeout
- (undocumented)name
- (undocumented)