|
|
@ -119,6 +119,12 @@ public final class hello {
|
|
|
|
return prop;
|
|
|
|
return prop;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (remoteSeed.getName().equals(sb.peers.mySeed().getName())) {
|
|
|
|
|
|
|
|
// reject a ping with my name
|
|
|
|
|
|
|
|
prop.put("message", "You are using my name");
|
|
|
|
|
|
|
|
return prop;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (sb.isRobinsonMode() && !sb.isPublicRobinson()) {
|
|
|
|
if (sb.isRobinsonMode() && !sb.isPublicRobinson()) {
|
|
|
|
// if we are a robinson cluster, answer only if this client is known by our network definition
|
|
|
|
// if we are a robinson cluster, answer only if this client is known by our network definition
|
|
|
|
prop.put("message", "I am robinson, I do not answer");
|
|
|
|
prop.put("message", "I am robinson, I do not answer");
|
|
|
|