示例#1
0
        private void CreateAtomFeedActor(string actorId)
        {
            dummyAtomDocumentActorCreator = new DummyAtomDocumentActorCreator();
            var props = Props.Create(() => new AtomFeedActor(dummyAtomDocumentActorCreator, new DummyAtomDocumentSettings(2)));

            atomActorRef = system.ActorOf(props, name: actorId);
        }
示例#2
0
 public void Setup()
 {
     dummyAtomDocumentActorCreator = new DummyAtomDocumentActorCreator();
     shardedActorSystemFactory     = new ShardedActorSystemFactory(8965, "eventActorSystemForTesting", "inmem", "127.0.0.1:8965");
     system = shardedActorSystemFactory.GetActorSystem();
     CreateAtomFeedActor(Guid.NewGuid().ToString());
     CreateFeed();
 }
 public void Setup()
 {
     dummyAtomDocumentActorCreator = new DummyAtomDocumentActorCreator();
     shardedActorSystemFactory = new ShardedActorSystemFactory(8965, "eventActorSystemForTesting", "inmem", "127.0.0.1:8965");
     system = shardedActorSystemFactory.GetActorSystem();
     CreateAtomFeedActor(Guid.NewGuid().ToString());
     CreateFeed();
 }
 private void CreateAtomFeedActor(string actorId)
 {
     dummyAtomDocumentActorCreator = new DummyAtomDocumentActorCreator();
     var props = Props.Create(() => new AtomFeedActor(dummyAtomDocumentActorCreator, new DummyAtomDocumentSettings(2)));
     atomActorRef = system.ActorOf(props, name: actorId);
 }