String eachPort = actorAddress.substring(actorAddress.length()-4);
if (url.equals(hostAddress) && eachPort.equals(port))
continue;
ClusterState clusterState = new ClusterState();
ClusterState.memberStates.put(url + ":" + eachPort, clusterState.new State(false, true));
System.out.println("Member : " + url + ":" + eachPort);
}
}
personalG = system.actorOf(Props.create(Guard.class, masterUrl), "guard");