On Sun, May 4, 2014 at 3:22 AM, Eugene Dzhurinsky <[email protected]>wrote:


Okay, fine. My question was related to how to create an instance of FSM
> actor,
> which accepts parameters in it's constructor, however thinking carefully I
> think that it's quite possible to pass the initialization stuff in a
> message.
>

```
class MyActor(myParameter: String) extends Actor with FSM { ... }

context.actorOf(Props(new MyActor("myArgument")))
```

Does that make sense?

Heiko



>
> Thank you for the explanation!
>
> --
> Eugene N Dzhurinsky
>



-- 

Heiko Seeberger
Twitter: @hseeberger
Blog: blog.heikoseeberger.name

-- 
>>>>>>>>>>      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