summaryrefslogtreecommitdiff
path: root/src/actors/scala/actors/CanReply.scala
diff options
context:
space:
mode:
authorPhilipp Haller <hallerp@gmail.com>2010-04-11 17:43:54 +0000
committerPhilipp Haller <hallerp@gmail.com>2010-04-11 17:43:54 +0000
commit8ee1f32478b63286b450a1ac5200ce4da39e69ff (patch)
treebc1c726390c9ce75c2dde0f549bbeea649661409 /src/actors/scala/actors/CanReply.scala
parent3750235190176d40290186b1578e2513fc6feace (diff)
downloadscala-8ee1f32478b63286b450a1ac5200ce4da39e69ff.tar.gz
scala-8ee1f32478b63286b450a1ac5200ce4da39e69ff.tar.bz2
scala-8ee1f32478b63286b450a1ac5200ce4da39e69ff.zip
Scaladoc clean-ups for various actor and channe...
Scaladoc clean-ups for various actor and channel types. Actor now extends InputChannel. Channel now extends CanReply. Review by plocinic.
Diffstat (limited to 'src/actors/scala/actors/CanReply.scala')
-rw-r--r--src/actors/scala/actors/CanReply.scala10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/actors/scala/actors/CanReply.scala b/src/actors/scala/actors/CanReply.scala
index 23f0a5319b..99e1169900 100644
--- a/src/actors/scala/actors/CanReply.scala
+++ b/src/actors/scala/actors/CanReply.scala
@@ -14,11 +14,13 @@ package scala.actors
* The <code>CanReply</code> trait defines result-bearing message send operations.
*
* @author Philipp Haller
+ *
+ * @define actor `CanReply`
*/
trait CanReply[-T, +R] {
/**
- * Sends <code>msg</code> to this <code>CanReply</code> and
+ * Sends <code>msg</code> to this $actor and
* awaits reply (synchronous).
*
* @param msg the message to be sent
@@ -27,7 +29,7 @@ trait CanReply[-T, +R] {
def !?(msg: T): R
/**
- * Sends <code>msg</code> to this <code>CanReply</code> and
+ * Sends <code>msg</code> to this $actor and
* awaits reply (synchronous) within <code>msec</code>
* milliseconds.
*
@@ -39,7 +41,7 @@ trait CanReply[-T, +R] {
def !?(msec: Long, msg: T): Option[R]
/**
- * Sends <code>msg</code> to this <code>CanReply</code> and
+ * Sends <code>msg</code> to this $actor and
* immediately returns a future representing the reply value.
*
* @param msg the message to be sent
@@ -49,7 +51,7 @@ trait CanReply[-T, +R] {
() => this !? msg
/**
- * Sends <code>msg</code> to this <code>CanReply</code> and
+ * Sends <code>msg</code> to this $actor and
* immediately returns a future representing the reply value.
* The reply is post-processed using the partial function
* <code>handler</code>. This also allows to recover a more