Class HelloWorldRepliedToSendEndConversationCommandEventHandler.Actor
An Akka.Net based IEventHandler that handles the HelloWorldRepliedTo.
Inheritance
System.Object
Akka.Actor.ActorBase
Akka.Actor.UntypedActor
Akka.Actor.ReceiveActor
AkkaEventHandler<System.Guid>
HelloWorldRepliedToSendEndConversationCommandEventHandler.Actor
Inherited Members
Akka.Actor.ReceiveActor.Akka.Actor.Internal.IInitializableActor.Init()
Akka.Actor.ReceiveActor.OnReceive(System.Object)
Akka.Actor.ReceiveActor.Become(System.Action)
Akka.Actor.ReceiveActor.BecomeStacked(System.Action)
Akka.Actor.ReceiveActor.Become(System.Action, System.Boolean)
Akka.Actor.ReceiveActor.Receive<T>(System.Func<T, System.Threading.Tasks.Task>)
Akka.Actor.ReceiveActor.Receive<T>(System.Action<T>, System.Predicate<T>)
Akka.Actor.ReceiveActor.Receive<T>(System.Predicate<T>, System.Action<T>)
Akka.Actor.ReceiveActor.Receive(System.Type, System.Action<System.Object>, System.Predicate<System.Object>)
Akka.Actor.ReceiveActor.Receive(System.Type, System.Predicate<System.Object>, System.Action<System.Object>)
Akka.Actor.ReceiveActor.Receive<T>(System.Func<T, System.Boolean>)
Akka.Actor.ReceiveActor.Receive(System.Type, System.Func<System.Object, System.Boolean>)
Akka.Actor.ReceiveActor.ReceiveAny(System.Action<System.Object>)
Akka.Actor.UntypedActor.Receive(System.Object)
Akka.Actor.UntypedActor.RunTask(System.Action)
Akka.Actor.UntypedActor.RunTask(System.Func<System.Threading.Tasks.Task>)
Akka.Actor.UntypedActor.Become(Akka.Actor.UntypedReceive, System.Boolean)
Akka.Actor.UntypedActor.Become(Akka.Actor.UntypedReceive)
Akka.Actor.UntypedActor.BecomeStacked(Akka.Actor.UntypedReceive)
Akka.Actor.UntypedActor.Context
Akka.Actor.ActorBase.AroundReceive(Akka.Actor.Receive, System.Object)
Akka.Actor.ActorBase.Unhandled(System.Object)
Akka.Actor.ActorBase.Become(Akka.Actor.Receive, System.Boolean)
Akka.Actor.ActorBase.Become(Akka.Actor.Receive)
Akka.Actor.ActorBase.BecomeStacked(Akka.Actor.Receive)
Akka.Actor.ActorBase.UnbecomeStacked()
Akka.Actor.ActorBase.Unbecome()
Akka.Actor.ActorBase.SetReceiveTimeout(System.Nullable<System.TimeSpan>)
Akka.Actor.ActorBase.SupervisorStrategy()
Akka.Actor.ActorBase.AroundPreRestart(System.Exception, System.Object)
Akka.Actor.ActorBase.AroundPreStart()
Akka.Actor.ActorBase.PreStart()
Akka.Actor.ActorBase.AroundPostRestart(System.Exception, System.Object)
Akka.Actor.ActorBase.PreRestart(System.Exception, System.Object)
Akka.Actor.ActorBase.PostRestart(System.Exception)
Akka.Actor.ActorBase.AroundPostStop()
Akka.Actor.ActorBase.PostStop()
Akka.Actor.ActorBase.Sender
Akka.Actor.ActorBase.Self
Akka.Actor.ActorBase.Akka.Actor.IInternalActor.ActorContext
Akka.Actor.ActorBase.EmptyReceive
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cqrs.Akka.Tests.Unit.Events.Handlers
Assembly: Cqrs.Akka.Tests.Unit.dll
Syntax
public class Actor : AkkaEventHandler<Guid>, IInternalActor, IInitializableActor
Constructors
Actor(ILogger, ICorrelationIdHelper, IAuthenticationTokenHelper<Guid>, IAkkaCommandPublisher<Guid>)
Instantiates a new instance of HelloWorldRepliedToSendEndConversationCommandEventHandler.Actor.
Declaration
public Actor(ILogger logger, ICorrelationIdHelper correlationIdHelper, IAuthenticationTokenHelper<Guid> authenticationTokenHelper, IAkkaCommandPublisher<Guid> commandBus)
Parameters
Type | Name | Description |
---|---|---|
cdmdotnet.Logging.ILogger | logger | |
cdmdotnet.Logging.ICorrelationIdHelper | correlationIdHelper | |
IAuthenticationTokenHelper<System.Guid> | authenticationTokenHelper | |
IAkkaCommandPublisher<System.Guid> | commandBus |
Properties
CommandBus
Publish any ICommand<TAuthenticationToken> instances that you want to send with this.
Declaration
protected ICommandPublisher<Guid> CommandBus { get; }
Property Value
Type | Description |
---|---|
ICommandPublisher<System.Guid> |
Methods
Handle(HelloWorldRepliedTo)
Responds to the provided message
.
Declaration
public void Handle(HelloWorldRepliedTo message)
Parameters
Type | Name | Description |
---|---|---|
HelloWorldRepliedTo | message | The HelloWorldRepliedTo to respond to or "handle" |