-
Michael Kmoch authored
The statistics server shows that the average amount is changing quite hard, this will happen because of the missing updated on the offline wallets. Out Implementation won't work with the other Members, because we added some Actions, and also our network doesn't work.
Michael Kmoch authoredThe statistics server shows that the average amount is changing quite hard, this will happen because of the missing updated on the offline wallets. Out Implementation won't work with the other Members, because we added some Actions, and also our network doesn't work.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
MainRemote.java 1006 B
package fucoin;
import java.io.File;
import akka.actor.ActorPath;
import akka.actor.ActorRef;
import akka.actor.ActorSystem;
import akka.actor.Address;
import com.typesafe.config.Config;
import com.typesafe.config.ConfigFactory;
public class MainRemote {
public static ActorRef remoteSuperVisorActor;
public static void main(String[] args) throws InterruptedException {
File file = new File("application.conf");
System.out.println("config found? " + file.exists());
Config config = ConfigFactory.parseFile(file);
ActorSystem system = ActorSystem.create("Test", config);
Address address = new Address("akka.tcp", "Core", "127.0.0.1", 1234);
System.out.println(address);
String path = "akka.tcp://Core@127.0.0.1:1234/user/Main";
System.out.println(system.actorSelection(ActorPath.fromString(path)));
System.out.println(ActorPath.isValidPathElement(""+address+"/user/Main"));
ActorRef a1 = system.actorOf(Wallet.props(null,"","Main2",remoteSuperVisorActor),"Main2");
}
}