ActorAddress

cc.otavia.core.address.ActorAddress
final class ActorAddress[M <: Call] extends PhysicalAddress[M]

Actor physical address

Type parameters

M

the message type that this actor can receive.

Value parameters

house

actor house

Attributes

Graph
Supertypes
class PhysicalAddress[M]
trait Address[M]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

override def ask[A <: M & Ask[_ <: Reply]](ask: A, future: MessageFuture[ReplyOf[A]], timeout: Long)(using sender: AbstractActor[_]): MessageFuture[ReplyOf[A]]

send ask message to this address, and set timeout milliseconds to get the respect Reply, otherwise the MessageFuture will set scala.concurrent.TimeoutException.

send ask message to this address, and set timeout milliseconds to get the respect Reply, otherwise the MessageFuture will set scala.concurrent.TimeoutException.

Type parameters

A

the type of ask message

Value parameters

ask

ask message to send

f

reply message future for this ask message

sender

who send this ask message

timeout

max time to wait for the Reply message.

Attributes

Definition Classes
Inherited from:
PhysicalAddress
override def ask[A <: M & Ask[_ <: Reply]](ask: A, future: MessageFuture[ReplyOf[A]])(using sender: AbstractActor[_]): MessageFuture[ReplyOf[A]]

send ask message to this address

send ask message to this address

Type parameters

A

the type of ask message

Value parameters

ask

ask message to send

future

reply message future for this ask message

sender

who send this ask message

Attributes

Definition Classes
Inherited from:
PhysicalAddress
final def ask[A <: M & Ask[_ <: Reply], R <: ReplyOf[A]](ask: A)(using sender: AbstractActor[_]): FutureState[R]

Attributes

Inherited from:
Address
override def askUnsafe(ask: Ask[_], future: MessageFuture[_])(using sender: AbstractActor[_]): MessageFuture[_]

Attributes

Definition Classes
Inherited from:
PhysicalAddress
override def notice(notice: M & Notice): Unit

send notice message to this address

send notice message to this address

Value parameters

notice

notice message to send

Attributes

Definition Classes
Inherited from:
PhysicalAddress