Removed Actor.send function
This commit is contained in:
parent
d8461f4dca
commit
b0bee0d417
11 changed files with 40 additions and 40 deletions
|
|
@ -49,7 +49,7 @@ trait Dispatcher { self: Actor =>
|
|||
protected def dispatch: PartialFunction[Any, Unit] = {
|
||||
case a if routes.isDefinedAt(a) =>
|
||||
if (self.sender.isDefined) routes(a) forward transform(a)
|
||||
else routes(a) send transform(a)
|
||||
else routes(a) ! transform(a)
|
||||
}
|
||||
|
||||
def receive = dispatch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue