Scala Library
|
|
scala/actors/ReplyableReactor.scala
]
trait
ReplyableReactor
extends
Replyable[Any, Any] with
AnyRefType Summary | |
type
|
Future |
Method Summary | |
override def
|
!!
[A](msg : Any, f : PartialFunction[Any, A]) : Future[A]
Sends
msg to this actor and immediately
returns a future representing the reply value.
The reply is post-processed using the partial function
f . This also allows to recover a more
precise type for the reply value. |
override def
|
!!
(msg : Any) : Future[Any]
Sends
msg to this actor and immediately
returns a future representing the reply value. |
def
|
!?
(msg : Any) : Any
Sends
msg to this actor and awaits reply
(synchronous). |
def
|
!?
(msec : Long, msg : Any) : Option[Any]
Sends
msg to this actor and awaits reply
(synchronous) within msec milliseconds. |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Type Details |
Method Details |
msg
to this actor and awaits reply
(synchronous).msg -
the message to be sentmsg
to this actor and awaits reply
(synchronous) within msec
milliseconds.msec -
the time span before timeoutmsg -
the message to be sentNone
in case of timeout, otherwise Some(x)
where x
is the replymsg
to this actor and immediately
returns a future representing the reply value.msg
to this actor and immediately
returns a future representing the reply value.
The reply is post-processed using the partial function
f
. This also allows to recover a more
precise type for the reply value.
Scala Library
|
|