--- projects/cms/source/host/java/Config.java 2000/12/07 23:18:28 1.5 +++ projects/cms/source/host/java/Config.java 2001/03/19 17:38:41 1.8 @@ -11,8 +11,8 @@ import java.io.*; * Will connect to the filter manager and collect its specific * configuration * - * @author $Author: tdb $ - * @version $Id: Config.java,v 1.5 2000/12/07 23:18:28 tdb Exp $ + * @author $Author: ab11 $ + * @version $Id: Config.java,v 1.8 2001/03/19 17:38:41 ab11 Exp $ */ class Config { @@ -62,7 +62,7 @@ class Config { //---PUBLIC METHODS--- public InetAddress getFilterName(){ - // will return the most recient IP address (if it is dynamic for whatever reason + // will return the most recent IP address (if it is dynamic for whatever reason) try { return InetAddress.getByName(filterName); } @@ -76,7 +76,7 @@ class Config { /** * Used to retrieve the port to send UDP packets to on the filter * - * @return an integer corrisponding to the UDP port of the filter + * @return an integer corresponding to the UDP port of the filter */ public int getFilterUDPPort(){ @@ -86,7 +86,7 @@ class Config { /** * Used to retrieve the port to send TCP heartbeats to on the filter * - * @return an integer corrisponding to the TCP of the filter + * @return an integer corresponding to the TCP of the filter */ public int getFilterTCPPort(){ @@ -131,8 +131,10 @@ class Config { // everything is fine // sendCommand("LASTMODIFIED"); lastModified = sendCommand("LASTMODIFIED"); - + fileList = sendCommand("FILELIST"); + + fQDN = sendCommand("FQDN"); // get all the properties if ( numProperties > 0 ){ // sendCommand("CONFIG"); @@ -245,6 +247,7 @@ class Config { private boolean configChanged; private String lastModified; private String fileList; + private String fQDN; private int numProperties; private HashMap myProperties; private String filterName; @@ -259,4 +262,4 @@ class Config { //---STATIC ATTRIBUTES--- -} // class \ No newline at end of file +} // class