class Inbox extends actor.Inbox
- Source
- Inbox.scala
- Alphabetic
- By Inheritance
- Inbox
- Inbox
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Inbox(system: ActorSystem)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from ActorDSL.Inbox to any2stringadd[ActorDSL.Inbox] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (ActorDSL.Inbox, B)
- Implicit
- This member is added by an implicit conversion from ActorDSL.Inbox to ArrowAssoc[ActorDSL.Inbox] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
def
ensuring(cond: (ActorDSL.Inbox) ⇒ Boolean, msg: ⇒ Any): ActorDSL.Inbox
- Implicit
- This member is added by an implicit conversion from ActorDSL.Inbox to Ensuring[ActorDSL.Inbox] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (ActorDSL.Inbox) ⇒ Boolean): ActorDSL.Inbox
- Implicit
- This member is added by an implicit conversion from ActorDSL.Inbox to Ensuring[ActorDSL.Inbox] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): ActorDSL.Inbox
- Implicit
- This member is added by an implicit conversion from ActorDSL.Inbox to Ensuring[ActorDSL.Inbox] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): ActorDSL.Inbox
- Implicit
- This member is added by an implicit conversion from ActorDSL.Inbox to Ensuring[ActorDSL.Inbox] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
Overridden finalizer which will try to stop the actor once this Inbox is no longer referenced.
Overridden finalizer which will try to stop the actor once this Inbox is no longer referenced.
- Definition Classes
- Inbox → AnyRef
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ActorDSL.Inbox to StringFormat[ActorDSL.Inbox] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getRef(): ActorRef
Obtain a reference to the internal actor, which can then for example be registered with the event stream or whatever else you may want to do with an ActorRef.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
receive(timeout: FiniteDuration = defaultTimeout): Any
Receive a single message from the internal
receiver
actor.Receive a single message from the internal
receiver
actor. The supplied timeout is used for cleanup purposes and its precision is subject to the resolution of the system’s scheduler (usually 100ms, but configurable).Warning: This method blocks the current thread until a message is received, thus it can introduce dead-locks (directly as well as indirectly by causing starvation of the thread pool). Do not use this method within an actor!
-
def
receive(max: Duration): Any
Receive the next message from this Inbox.
Receive the next message from this Inbox. This call will return immediately if the internal actor previously received a message, or it will block for up to the specified duration to await reception of a message. If no message is received a java.util.concurrent.TimeoutException will be raised.
- Definition Classes
- Inbox
- Annotations
- @throws( ... )
- val receiver: ActorRef
-
def
select[T](timeout: FiniteDuration = defaultTimeout)(predicate: PartialFunction[Any, T]): T
Receive a single message for which the given partial function is defined and return the transformed result, using the internal
receiver
actor.Receive a single message for which the given partial function is defined and return the transformed result, using the internal
receiver
actor. The supplied timeout is used for cleanup purposes and its precision is subject to the resolution of the system’s scheduler (usually 100ms, but configurable).Warning: This method blocks the current thread until a message is received, thus it can introduce dead-locks (directly as well as indirectly by causing starvation of the thread pool). Do not use this method within an actor!
-
def
send(target: ActorRef, msg: AnyRef): Unit
Have the internal actor act as the sender of the given message which will be sent to the given target.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
watch(target: ActorRef): Unit
Make the inbox’s actor watch the target actor such that reception of the Terminated message can then be awaited.
-
def
→[B](y: B): (ActorDSL.Inbox, B)
- Implicit
- This member is added by an implicit conversion from ActorDSL.Inbox to ArrowAssoc[ActorDSL.Inbox] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc