Callable<JoinStatus> operation = new Callable<JoinStatus>() {
@Override
public JoinStatus call() throws InterruptedException {
NetworkSystem networkSystem = CoreRegistry.get(NetworkSystem.class);
JoinStatus joinStatus = networkSystem.join(address, port);
return joinStatus;
}
};
final NUIManager manager = CoreRegistry.get(NUIManager.class);