TestAssociationHandle

@deprecated("Classic remoting is deprecated, use Artery", "2.6.0")
final case class TestAssociationHandle(localAddress: Address, remoteAddress: Address, transport: TestTransport, inbound: Boolean) extends AssociationHandle
Deprecated
Source:
TestTransport.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

override def disassociate(): Unit
Definition Classes
Source:
TestTransport.scala
override def write(payload: ByteString): Boolean
Definition Classes
Source:
TestTransport.scala

Inherited methods

@nowarn("msg=deprecated")

Closes the underlying transport link, if needed. Some transports might not need an explicit teardown (UDP) and some transports may not support it (hardware connections). Remote endpoint of the channel or connection MAY be notified, but this is not guaranteed. The Transport that provides the handle MUST guarantee that disassociate() could be called arbitrarily many times.

Closes the underlying transport link, if needed. Some transports might not need an explicit teardown (UDP) and some transports may not support it (hardware connections). Remote endpoint of the channel or connection MAY be notified, but this is not guaranteed. The Transport that provides the handle MUST guarantee that disassociate() could be called arbitrarily many times.

Inherited from:
AssociationHandle
Source:
Transport.scala
Inherited from:
Product

Concrete fields

Key used in akka.remote.transport.TestTransport.AssociationRegistry to identify associations. Contains an ordered pair of addresses, where the first element of the pair is always the initiator of the association.

Key used in akka.remote.transport.TestTransport.AssociationRegistry to identify associations. Contains an ordered pair of addresses, where the first element of the pair is always the initiator of the association.

Source:
TestTransport.scala