Hi, 

I just start trying myself out with Scala. I grow confident enough to start 
refactoring an ongoing multi-threaded application that i have been working 
on for about a year and half. 

However something that somehow bother and i can't somehow figure it out, is 
how to expose the interface/contract/protocole of an Actor? In the OO mode, 
i have my public interface with synchronized method if necessary, and i 
know what i can do with that object. Now that i'm going to use actor, it 
seems that all of that won't be available anymore. 

More specifically, I a KbService in my app with a set of method to work 
with that Kb. I want to make it an actor on its own. For that i need to 
make all the method private or protected given that now they will be only 
called by my received method. Hence the to expose the set of available 
behavior. 

Is there some best practice for that ?

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
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