AssociationHandle

org.apache.pekko.remote.transport.AssociationHandle
See theAssociationHandle companion trait

Attributes

Companion
trait
Deprecated
true
Source
Transport.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class ActorHandleEventListener(actor: ActorRef) extends HandleEventListener

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

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

Attributes

Source
Transport.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed trait DisassociateInfo

Supertype of possible disassociation reasons

Supertype of possible disassociation reasons

Attributes

Source
Transport.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Quarantined
object Shutdown
object Unknown

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

Attributes

Source
Transport.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait HandleEvent
class Object
trait Matchable
class Any
Show all

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

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

Attributes

Source
Transport.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

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

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

Attributes

Source
Transport.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
final case class InboundPayload(payload: ByteString) extends HandleEvent

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

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

Value parameters

payload

The raw bytes that were sent by the remote endpoint.

Attributes

Source
Transport.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait HandleEvent
class Object
trait Matchable
class Any
Show all
case object Quarantined extends DisassociateInfo

Attributes

Source
Transport.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object Shutdown extends DisassociateInfo

Attributes

Source
Transport.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Shutdown.type
case object Unknown extends DisassociateInfo

Attributes

Source
Transport.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
Unknown.type