Hi Alec,  

On Tuesday, 14 January 2014 at 12:54, Alec Zorab wrote:

> Is there a reason that there's no read-only interface for agents?  
>  

I think that the only reason is that your use case wasn’t considered. The 
interface could probably be split up into a read side and a write side.
  
>  
> I'm thinking about cases where I want an agent that's settable by n actor and 
> readable but not writeable by m others (admittedly, the most obvious use case 
> right now is for n = 1).
>  
>  
>  


As a work around you could create a wrapper that only exposes the read side.

B/
  
>  
>  
> --  
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://akka.io/faq/
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---  
> You received this message because you are subscribed to the Google Groups 
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to akka-user+unsubscr...@googlegroups.com 
> (mailto:akka-user+unsubscr...@googlegroups.com).
> To post to this group, send email to akka-user@googlegroups.com 
> (mailto:akka-user@googlegroups.com).
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/groups/opt_out.

--  
Björn Antonsson
Typesafe (http://typesafe.com/) – Reactive Apps on the JVM

twitter: @bantonsson (http://twitter.com/#!/bantonsson)


-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to