Page History
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
public class BasicActor : UntypedActor { protected override void PreStart() { } protected override void PreRestart(Exception reason, object message) { } protected override void OnReceive(object message) { //handle messages here } protected override void PostStop() { } protected override void PostRestart(Exception reason) { } } |
메시지 수신처리외에 다양한 이벤트에 대한 처리기를 등록가능하며
Actor전략에 따라 활용할수 있습니다.
액트접근 주소체계
...
잠시 실습없이, Actor를 접근하는 주소체계에대해 설명 드리겠습니다. ActorPath는 총 4가지로 구분이 되며
...