/** * @see co.vaughnvernon.actormodel.actor.ActorRegistry#deregister(co.vaughnvernon.actormodel.actor.ActorAgent) */ @Override public void deregister(ActorAgent anActorAgent) { Class<? extends Actor> actorType = this.actorTypeFor(anActorAgent.actorType()); if (actorType != null) { this.removeActor(actorType, anActorAgent.address()); } }
public MessageInfo( ActorAgent aFromAgent, ActorAgent aToAgent, Message aMessage, boolean isAsking) { super(); this.setFromAddress(aFromAgent.address().address()); this.setFromActorType(aFromAgent.actorType()); this.setToAddress(aToAgent.address().address()); this.setToActorType(aToAgent.actorType()); this.setMessageType(aMessage.getClass().getName()); this.setAsking(isAsking); }
public BacklogItem(ActorInitializer anInitializer) { super(anInitializer.address(), anInitializer.registry()); this.story = anInitializer.getParameter("story"); this.summary = anInitializer.getParameter("summary"); ActorAgent product = anInitializer.getParameter("product"); this.product = product.address(); product.tell(new BacklogItemPlanned(product.address(), this.self().address())); }
public Sprint(ActorInitializer anInitializer) { super(anInitializer.address(), anInitializer.registry()); this.begins = anInitializer.getParameter("begins"); this.committedBacklogItems = new HashSet<Address>(); this.ends = anInitializer.getParameter("ends"); this.goals = anInitializer.getParameter("goals"); this.name = anInitializer.getParameter("name"); ActorAgent product = anInitializer.getParameter("product"); this.product = product.address(); product.tell(new SprintScheduled(product.address(), this.self().address())); }
backlogItem.tell(new CommitTo(sprint.address()));