Click or drag to resize
Akka.NETTestConductorBlackhole Method
Switch the helios pipeline of the remote support into blackhole mode for sending and/or receiving: it will just drop all messages right before submitting them to the Socket or right after receiving them from the Socket. ====Note==== To use this feature you must activate the failure injector and throttler transport adapters by specifying `testTransport(on = true)` in your MultiNodeConfig.

Namespace:  Akka.Remote.TestKit
Assembly:  Akka.Remote.TestKit (in Akka.Remote.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public Task<Done> Blackhole(
	RoleName node,
	RoleName target,
	ThrottleTransportAdapterDirection direction
)

Parameters

node
Type: Akka.Remote.TestKitRoleName
is the symbolic name of the node which is to be affected
target
Type: Akka.Remote.TestKitRoleName
is the symbolic name of the other node to which connectivity shall be impeded
direction
Type: Akka.Remote.TransportThrottleTransportAdapterDirection
can be either `Direction.Send`, `Direction.Receive` or `Direction.Both`

Return Value

Type: TaskDone

[Missing <returns> documentation for "M:Akka.Remote.TestKit.TestConductor.Blackhole(Akka.Remote.TestKit.RoleName,Akka.Remote.TestKit.RoleName,Akka.Remote.Transport.ThrottleTransportAdapter.Direction)"]

See Also