Newer
Older
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);
}
}