Example #1
0
 public BusActor(IAkkaCommandSender <TAuthenticationToken> commandHandlerResolver, ICorrelationIdHelper correlationIdHelper, IAuthenticationTokenHelper <TAuthenticationToken> authenticationTokenHelper)
 {
     CommandHandlerResolver    = commandHandlerResolver;
     CorrelationIdHelper       = correlationIdHelper;
     AuthenticationTokenHelper = authenticationTokenHelper;
     Receive <ICommand <TAuthenticationToken> >(command => ExecuteReceive(command));
 }
 public HelloWorldRepliedToSendEndConversationCommandEventHandlerActor(ILogger logger, IAkkaCommandSender <Guid> commandBus)
     : base(logger)
 {
     CommandBus = commandBus;
     Receive <HelloWorldRepliedTo>(@event => Execute(Handle, @event));
 }
Example #3
0
 public Actor(ILogger logger, ICorrelationIdHelper correlationIdHelper, IAuthenticationTokenHelper <Guid> authenticationTokenHelper, IAkkaCommandSender <Guid> commandBus)
     : base(logger, correlationIdHelper, authenticationTokenHelper)
 {
     CommandBus = commandBus;
     Receive <HelloWorldRepliedTo>(@event => Execute(Handle, @event));
 }
Example #4
0
 public ConversationEndedEventHandler(IAkkaCommandSender <Guid> commandBus)
 {
     CommandBus = commandBus;
 }
Example #5
0
 public BusActor(IAkkaCommandSender <TAuthenticationToken> commandHandlerResolver)
 {
     CommandHandlerResolver = commandHandlerResolver;
     Receive <ICommand <TAuthenticationToken> >(command => ExecuteReceive(command));
 }
Example #6
0
 public HelloWorldSaidEventHandler(IAkkaCommandSender <Guid> commandBus)
 {
     CommandBus = commandBus;
 }