typo: "ctor" has the "a" missing. should be "actor" of course.
Am 23.08.2015 09:26 schrieb "Martin Senne" <[email protected]>:

> Hi kraythe,
>
> first, you can use method delegation to untangle the "large" receive
> method.
>
> Second, you can wrap all these methods including the relevant part of the
> receive method into a trait and mix that into your concrete ctor
> implementation.
>
> Cheers, Martin
> Am 23.08.2015 09:14 schrieb "Patrik Nordwall" <[email protected]>:
>
>> How would it look like when the actor has state? How is the state
>> updated? How do you handle the message differently depending on the state?
>>
>> Regards,
>> Patrik
>> sön 23 aug 2015 kl. 04:56 skrev kraythe <[email protected]>:
>>
>>> Actually I am not talking about that. It's a simple concept of putting
>>> the implementation of the message processor in the message itself. It's
>>> just a different way to organize the code.
>>>
>>> --
>>> >>>>>>>>>>      Read the docs: http://akka.io/docs/
>>> >>>>>>>>>>      Check the FAQ:
>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>> >>>>>>>>>>      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/d/optout.
>>>
>> --
>> /Patrik
>>
>> --
>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>> >>>>>>>>>> Check the FAQ:
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>> >>>>>>>>>> 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/d/optout.
>>
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      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/d/optout.

Reply via email to