The Artima Developer Community
Sponsored Link

Akka Concurrency Forum
Section 6.6

1 reply on 1 page. Most recent reply: Oct 22, 2012 9:49 AM by Derek Wyatt

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic    
Flat View: This topic has 1 reply on 1 page
Eric Pederson

Posts: 12
Nickname: 71552
Registered: Apr, 2010

Section 6.6 Posted: Oct 22, 2012 4:58 AM
Reply to this message Reply
Advertisement
In section 6.6 in EventSourceSpy you have

def eventSourceReceive = { case "" => }

You might want to consider changing it to

def eventSourceReceive = emptyBehavior

akka.actor.Actor.emptyBehavior comes in handy in all kinds of places.


Derek Wyatt

Posts: 69
Nickname: dwyatt
Registered: Oct, 2012

Re: Section 6.6 Posted: Oct 22, 2012 9:49 AM
Reply to this message Reply
That makes damn fine sense.

Thanks Eric,
Derek

Flat View: This topic has 1 reply on 1 page
Topic: Section 6.5 - gracefulStop Previous Topic    

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use