Beispiel #1
0
 public void discoveryRequestReceived(
     Address sender, String logical_name, Collection<PhysicalAddress> physical_addrs) {
   super.discoveryRequestReceived(sender, logical_name, physical_addrs);
   if (physical_addrs != null) {
     for (PhysicalAddress addr : physical_addrs) {
       if (!initial_hosts.contains(addr)) dynamic_hosts.addIfAbsent(addr);
     }
   }
 }
Beispiel #2
0
 public String findInitialMembersAsString() {
   return p.findInitialMembersAsString();
 }
Beispiel #3
0
 public Vector findInitialMembers() {
   return new Vector(p.findInitialMembers(null));
 }
Beispiel #4
0
 public int getDiscoveryRequestsSent() {
   return p.getNumberOfDiscoveryRequestsSent();
 }
Beispiel #5
0
 public void setPingRequests(int num_ping_requests) {
   p.setNumPingRequests(num_ping_requests);
 }
Beispiel #6
0
 public int getPingRequests() {
   return p.getNumPingRequests();
 }
Beispiel #7
0
 public void setInitialMembers(int num_initial_members) {
   p.setNumInitialMembers(num_initial_members);
 }
Beispiel #8
0
 public int getInitialMembers() {
   return p.getNumInitialMembers();
 }
Beispiel #9
0
 public void setTimeout(long timeout) {
   p.setTimeout(timeout);
 }
Beispiel #10
0
 public long getTimeout() {
   return p.getTimeout();
 }
Beispiel #11
0
 public void start() throws Exception {
   super.start();
 }
Beispiel #12
0
 public void init() throws Exception {
   super.init();
 }