The Artima Developer Community
Sponsored Link

Akka Concurrency Forum
Ch 8.5: Page 198, missing imports

2 replies on 1 page. Most recent reply: Feb 20, 2013 8:45 PM by Dan Luu

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   Next Topic
Flat View: This topic has 2 replies on 1 page
Dan Luu

Posts: 27
Nickname: amitra
Registered: Feb, 2013

Ch 8.5: Page 198, missing imports Posted: Feb 20, 2013 11:46 AM
Reply to this message Reply
Advertisement
In the V2 pre-print, to get this to work, I had to add this line:

import concurrent.duration.Duration

as well as change

import akka.actor.SupervisorStrategy

to

import akka.actor.{SupervisorStrategy, OneForOneStrategy, AllForOneStrategy}

At least some of those things were imported in the examples that aren't part of the running coding example, so it's not clear to me if I'm making a mistake by not including those imports, or if there's really missing code here.


Derek Wyatt

Posts: 69
Nickname: dwyatt
Registered: Oct, 2012

Re: Ch 8.5: Page 198, missing imports Posted: Feb 20, 2013 3:34 PM
Reply to this message Reply
Thanks Dan.

Can you do me a favour and hit the "Suggest" link at the bottom of the affected page and log the problem there? That way I can keep track of where the problems are.

Dan Luu

Posts: 27
Nickname: amitra
Registered: Feb, 2013

Re: Ch 8.5: Page 198, missing imports Posted: Feb 20, 2013 8:45 PM
Reply to this message Reply
Oh, I didn't even notice the links. Done!

Flat View: This topic has 2 replies on 1 page
Topic: Ch 9.3, LostControl used without definition Previous Topic   Next Topic Topic: Hints about which code snippets to implement

Sponsored Links



Google
  Web Artima.com   

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