This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected override void OnReceive(object message){ | |
//handle messages here | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Akka.Actor; | |
namespace ActorsSendingMessages | |
{ | |
/// <summary> | |
/// See http://akkadotnet.github.io/wiki/Actors for more details about | |
/// Akka.NET actors | |
/// </summary> | |
public class BasicActor : UntypedActor |