trait GenericActor[+R] extends TypedActor[Any, R]
Generic Actor interface. Can receive any type of message. Can return (via
!!
and !?
) messages of type R
.
- Alphabetic
- By Inheritance
- GenericActor
- TypedActor
- SimpleActor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
!(param: Any): Unit
Send a message to the Actor
-
abstract
def
!!(message: Any, timeout: Long): Box[R]
Asynchronous message send.
Asynchronous message send. Send-and-receive eventually. Waits on a Future for the reply message. If recevied within timout interval that is specified then it returns
Full(result)
and if a timeout has occuredEmpty
orFailure
.- Definition Classes
- TypedActor
-
abstract
def
!!(message: Any): Box[R]
Asynchronous message send.
Asynchronous message send. Send-and-receive eventually. Waits on a Future for the reply message. If recevied within the Actor default timeout interval then it returns
Full(result)
and if a timeout has occuredEmpty
orFailure
.- Definition Classes
- TypedActor
-
abstract
def
!?(timeout: Long, message: Any): Box[R]
Compatible with Scala actors'
!?
method, sends the givenmessage
to this actor and waits up totimeout
for a reply, returningEmpty
orFailure
if no reply is received by then.Compatible with Scala actors'
!?
method, sends the givenmessage
to this actor and waits up totimeout
for a reply, returningEmpty
orFailure
if no reply is received by then.- Definition Classes
- TypedActor
-
abstract
def
!?(message: Any): R
Compatible with Scala actors'
!?
method, sends the givenmessage
to this actor and waits infinitely for a reply.Compatible with Scala actors'
!?
method, sends the givenmessage
to this actor and waits infinitely for a reply.- Definition Classes
- TypedActor
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
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
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )