unify sender/senderFuture into channel (++)
(squashed merge from the various bits and pieces already part of release-1.2, everything related to Channel & Future)
This commit is contained in:
parent
cee934a99a
commit
7712c20620
28 changed files with 679 additions and 252 deletions
|
|
@ -16,10 +16,9 @@ import akka.actor._
|
|||
/**
|
||||
* @author <a href="http://jonasboner.com">Jonas Bonér</a>
|
||||
*/
|
||||
final case class MessageInvocation(receiver: ActorRef,
|
||||
message: Any,
|
||||
sender: Option[ActorRef],
|
||||
senderFuture: Option[Promise[Any]]) {
|
||||
final case class MessageInvocation(val receiver: ActorRef,
|
||||
val message: Any,
|
||||
val channel: UntypedChannel) {
|
||||
if (receiver eq null) throw new IllegalArgumentException("Receiver can't be null")
|
||||
|
||||
final def invoke() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue