AssociationHandle

@deprecated("Classic remoting is deprecated, use Artery", "2.6.0")
Companion:
class
Deprecated
Source:
Transport.scala
class Object
trait Matchable
class Any

Type members

Classlikes

final case class ActorHandleEventListener(actor: ActorRef) extends HandleEventListener

Class to convert ordinary akka.actor.ActorRef instances to a HandleEventListener. The adapter will forward event objects as messages to the provided ActorRef.

Class to convert ordinary akka.actor.ActorRef instances to a HandleEventListener. The adapter will forward event objects as messages to the provided ActorRef.

Source:
Transport.scala
sealed trait DisassociateInfo

Supertype of possible disassociation reasons

Supertype of possible disassociation reasons

Source:
Transport.scala

Message sent to the listener registered to an association

Message sent to the listener registered to an association

Value parameters:
info

information about the reason of disassociation

Source:
Transport.scala

Trait for events that the registered listener for an akka.remote.transport.AssociationHandle might receive.

Trait for events that the registered listener for an akka.remote.transport.AssociationHandle might receive.

Source:
Transport.scala

An interface that needs to be implemented by the user of an akka.remote.transport.AssociationHandle to listen to association events.

An interface that needs to be implemented by the user of an akka.remote.transport.AssociationHandle to listen to association events.

Source:
Transport.scala
final case class InboundPayload(payload: ByteString) extends HandleEvent

Message sent to the listener registered to an association (via the Promise returned by akka.remote.transport.AssociationHandle#readHandlerPromise) when an inbound payload arrives.

Message sent to the listener registered to an association (via the Promise returned by akka.remote.transport.AssociationHandle#readHandlerPromise) when an inbound payload arrives.

Value parameters:
payload

The raw bytes that were sent by the remote endpoint.

Source:
Transport.scala
case object Quarantined extends DisassociateInfo
case object Shutdown extends DisassociateInfo
case object Unknown extends DisassociateInfo