lhmc.network
Class HostsVector

java.lang.Object
  extended by lhmc.network.HostsVector

public class HostsVector
extends java.lang.Object

HostsVector is class manages a hostname vector.

Version:
0.01 Jun 2007
Author:
Cristina Roura Claver

Constructor Summary
HostsVector()
          HostsVector constructor.
 
Method Summary
 void addHost(java.lang.String hostName)
          Adds a hostname string to the vector.
 java.util.Vector<java.lang.String> getHosts()
          Gets the hostname vector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostsVector

public HostsVector()
HostsVector constructor.

Method Detail

addHost

public void addHost(java.lang.String hostName)
Adds a hostname string to the vector. Synchronized method to be used by threads.

Parameters:
hostName - the host name.

getHosts

public java.util.Vector<java.lang.String> getHosts()
Gets the hostname vector. Synchronized method to be used by threads.

Returns:
the host names vector.