Transport implementation to be used for testing.
The TestTransport is basically a shared memory between actor systems. The TestTransport could be programmed to emulate different failure modes of a Transport implementation. TestTransport keeps a log of the activities it was requested to do. This class is not optimized for performance and MUST not be used as an in-memory transport in production systems.
- Companion:
- object
- Deprecated
- Source:
- TestTransport.scala
Value members
Constructors
Concrete methods
Inherited methods
This method allows upper layers to send management commands to the transport. It is the responsibility of the sender to send appropriate commands to different transport implementations. Unknown commands will be ignored.
This method allows upper layers to send management commands to the transport. It is the responsibility of the sender to send appropriate commands to different transport implementations. Unknown commands will be ignored.
- Value parameters:
- cmd
Command message to the transport
- Returns:
Future that succeeds when the command was handled or dropped
- Inherited from:
- Transport
- Source:
- Transport.scala
Concrete fields
The akka.remote.transport.TestTransport.SwitchableLoggedBehavior for the associate() method.
The akka.remote.transport.TestTransport.SwitchableLoggedBehavior for the associate() method.
- Source:
- TestTransport.scala
The akka.remote.transport.TestTransport.SwitchableLoggedBehavior for the disassociate() method on handles. All handle calls pass through this call.
The akka.remote.transport.TestTransport.SwitchableLoggedBehavior for the disassociate() method on handles. All handle calls pass through this call.
- Source:
- TestTransport.scala
The akka.remote.transport.TestTransport.SwitchableLoggedBehavior for the listen() method.
The akka.remote.transport.TestTransport.SwitchableLoggedBehavior for the listen() method.
- Source:
- TestTransport.scala
The akka.remote.transport.TestTransport.SwitchableLoggedBehavior for the shutdown() method.
The akka.remote.transport.TestTransport.SwitchableLoggedBehavior for the shutdown() method.
- Source:
- TestTransport.scala
The akka.remote.transport.TestTransport.SwitchableLoggedBehavior for the write() method on handles. All handle calls pass through this call. Please note, that write operations return a Boolean synchronously, so altering the behavior via pushDelayed will turn write to a blocking operation -- use of pushDelayed therefore is not recommended.
The akka.remote.transport.TestTransport.SwitchableLoggedBehavior for the write() method on handles. All handle calls pass through this call. Please note, that write operations return a Boolean synchronously, so altering the behavior via pushDelayed will turn write to a blocking operation -- use of pushDelayed therefore is not recommended.
- Source:
- TestTransport.scala