예제 #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);
     }
   }
 }
예제 #2
0
 public String findInitialMembersAsString() {
   return p.findInitialMembersAsString();
 }
예제 #3
0
 public Vector findInitialMembers() {
   return new Vector(p.findInitialMembers(null));
 }
예제 #4
0
 public int getDiscoveryRequestsSent() {
   return p.getNumberOfDiscoveryRequestsSent();
 }
예제 #5
0
 public void setPingRequests(int num_ping_requests) {
   p.setNumPingRequests(num_ping_requests);
 }
예제 #6
0
 public int getPingRequests() {
   return p.getNumPingRequests();
 }
예제 #7
0
 public void setInitialMembers(int num_initial_members) {
   p.setNumInitialMembers(num_initial_members);
 }
예제 #8
0
 public int getInitialMembers() {
   return p.getNumInitialMembers();
 }
예제 #9
0
 public void setTimeout(long timeout) {
   p.setTimeout(timeout);
 }
예제 #10
0
 public long getTimeout() {
   return p.getTimeout();
 }
예제 #11
0
 public void start() throws Exception {
   super.start();
 }
예제 #12
0
 public void init() throws Exception {
   super.init();
 }