Skip to content
Snippets Groups Projects

Preliminary result of the software

Merged lkeidel requested to merge dev-remoting into master
76 files
+ 2275
1068
Compare changes
  • Side-by-side
  • Inline
Files
76
package fucoin.actions.join;
import akka.actor.ActorRef;
import akka.actor.UntypedActorContext;
import fucoin.AbstractNode;
//Used to join the network (a pre known participant/Wallet must be known)
public class ActionJoin extends GeneralAction{
@Override
protected void onAction(ActorRef sender, ActorRef self,
UntypedActorContext context, AbstractNode node) {
ActionJoinAnswer aja = new ActionJoinAnswer();
aja.someNeighbors.putAll(node.getKnownNeighbors());
sender.tell(aja, self);
}
}
Loading