| java.lang.Object org.griphyn.cPlanner.poolinfo.MdsQuery
MdsQuery | public class MdsQuery (Code) | | This Class queries the GT2 based Monitoring and Discovery Service (MDS)
and stores the remote sites information into a single data class.
author: Gaurang Mehta gmehta@isi.edu author: Karan Vahi vahi@isi.edu version: $Revision: 50 $ |
Constructor Summary | |
public | MdsQuery() C'tor for the class. | public | MdsQuery(String host, int port) Valid C'tor for the class to create a MdsQuery object. |
MdsQuery | public MdsQuery()(Code) | | C'tor for the class.
|
MdsQuery | public MdsQuery(String host, int port)(Code) | | Valid C'tor for the class to create a MdsQuery object.
Sets the SECURITY_ATHENTICATION with simple authentication.
Sets the PROVIDER_URL to the MDS host and port.
Sets the INTITIAL CONTEXT FACTORY.
Parameters: host - the hostname of the machine on which a GRIS or GIIS is running. Parameters: port - the Port number on which a GRIS or GIIS is running. |
displayResults | public void displayResults(NamingEnumeration results, String baseDN) throws NamingException(Code) | | Displays the result on stdout instead of putting it in data classes.
Parameters: results - Takes a NamingEnumeration returned by the MDS search Parameters: baseDN - Takes the baseDN provided to the MDS search. |
setLdapConnectionEnv | public void setLdapConnectionEnv(String index, String value)(Code) | | Enables a user to set new or overide existing connection settings to the MDS.
Parameters: index - Holds the index string for the connection environment. Parameters: value - Holds the value corresponding to the index fro the connnection environment. |
setLdapSearchConstraints | public void setLdapSearchConstraints()(Code) | | |
|
|