Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

위 두 코드는, 샘플코드 내에서 같은 의미이지만... 생성코드를 줄이고 생성방법을 획일화 할수가 있습니다.


Info

Props

Actor생성을 위해 옵션을 지정하고, 이를 통해 액터 생성방법을 공유하기위한

구성클래스입니다.

몇가지 Props를 통한 다양한 액터 생성법


Props props1 = Props.Create(typeof(MyActor));
Props props2 = Props.Create(() => new MyActorWithArgs("arg"));
Props props3 = Props.Create<MyActor>();
Props props4 = Props.Create(typeof(MyActorWithArgs), "arg");


주소체계

...


잠시 실습없이, Actor를 접근하는 주소체계에대해 설명 드리겠습니다.  ActorPath는 총 4가지로 구분이 되며 

...