lhmc.network
Class HostsSearch

java.lang.Object
  extended by lhmc.network.HostsSearch
All Implemented Interfaces:
java.lang.Runnable

public class HostsSearch
extends java.lang.Object
implements java.lang.Runnable

HostsSearch is a threaded class that sends a multicast message and waits for ressponses. If there is a response saves the host name recived to a HostsVector.

Version:
0.01 Jun 2007
Author:
Cristina Roura Claver

Constructor Summary
HostsSearch(HostsVector hostsVector)
          HostsSearch constructor.
 
Method Summary
 void run()
          Executes the HostsSearch thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostsSearch

public HostsSearch(HostsVector hostsVector)
HostsSearch constructor.

Parameters:
hostsVector - the hostvector to fill.
Method Detail

run

public void run()
Executes the HostsSearch thread.

Specified by:
run in interface java.lang.Runnable