Skip to content
Snippets Groups Projects
ActionInvokeRevive.java 423 B
Newer Older
Michael Kmoch's avatar
Michael Kmoch committed
package fucoin.actions.persist;

import akka.actor.ActorRef;
import akka.actor.UntypedActorContext;
import fucoin.Wallet;
import fucoin.actions.join.ActionJoin;

public class ActionInvokeRevive extends Persist{

	@Override
	protected void onAction(ActorRef sender, ActorRef self,
			UntypedActorContext context, Wallet wallet) {
		wallet.setActive(true);
		wallet.getPreknownNeighbour().tell(new ActionJoin(), self);
	}

}