Re: [akka-user] Can I avoid a class cast when using outlets in FlowShape?

2015-07-14 Thread Magnus Andersson
Hi Thanks Victor, you're right! For the record I did try this before writing the post above, but it wouldn't work. I must have had some other type error at the same time that confused me. Because now it worked fine! /Magnus Den söndag 12 juli 2015 kl. 15:39:10 UTC+2 skrev √: On Sun, Jul

Re: [akka-user] Can I avoid a class cast when using outlets in FlowShape?

2015-07-14 Thread Viktor Klang
Great to hear, happy hAkking On Tue, Jul 14, 2015 at 10:51 AM, Magnus Andersson magnus.anders...@mollyware.se wrote: Hi Thanks Victor, you're right! For the record I did try this before writing the post above, but it wouldn't work. I must have had some other type error at the same time

[akka-user] Can I avoid a class cast when using outlets in FlowShape?

2015-07-12 Thread Magnus Andersson
Hi I have to do a class cast to ge able to get a typed outlet from a flow that I used in a FlowGraph. 1. I'm wondering if I'm using the API wrong below, can I get the outlet in a different way? 2. Other suggestions for improvement apart from the single line is welcome, perhaps my

Re: [akka-user] Can I avoid a class cast when using outlets in FlowShape?

2015-07-12 Thread Viktor Klang
On Sun, Jul 12, 2015 at 1:18 PM, Magnus Andersson magnus.anders...@mollyware.se wrote: Hi I have to do a class cast to ge able to get a typed outlet from a flow that I used in a FlowGraph. 1. I'm wondering if I'm using the API wrong below, can I get the outlet in a different way?