Beispiel #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));
 }
Beispiel #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));
 }
Beispiel #4
0
 public ConversationEndedEventHandler(IAkkaCommandSender <Guid> commandBus)
 {
     CommandBus = commandBus;
 }
Beispiel #5
0
 public BusActor(IAkkaCommandSender <TAuthenticationToken> commandHandlerResolver)
 {
     CommandHandlerResolver = commandHandlerResolver;
     Receive <ICommand <TAuthenticationToken> >(command => ExecuteReceive(command));
 }
Beispiel #6
0
 public HelloWorldSaidEventHandler(IAkkaCommandSender <Guid> commandBus)
 {
     CommandBus = commandBus;
 }