com.metamatrix.common.comm.platform.socket.client
Class AdminApiServerDiscovery
java.lang.Object
com.metamatrix.common.comm.platform.socket.client.UrlServerDiscovery
com.metamatrix.common.comm.platform.socket.client.AdminApiServerDiscovery
- All Implemented Interfaces:
- ServerDiscovery
public class AdminApiServerDiscovery
- extends UrlServerDiscovery
Will discover hosts based upon an anon admin api call.
Field Summary |
static int |
DISCOVERY_TIMEOUT
|
static java.lang.String |
USE_URL_HOST
If the FIREWALL_HOST property is set, then this host name will be used instead of the process
names returned by the AdminApi |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USE_URL_HOST
public static final java.lang.String USE_URL_HOST
- If the FIREWALL_HOST property is set, then this host name will be used instead of the process
names returned by the AdminApi
- See Also:
- Constant Field Values
DISCOVERY_TIMEOUT
public static final int DISCOVERY_TIMEOUT
- See Also:
- Constant Field Values
AdminApiServerDiscovery
public AdminApiServerDiscovery()
init
public void init(MMURL url,
java.util.Properties p)
- Description copied from interface:
ServerDiscovery
- Initialize the
ServerDiscovery
- Specified by:
init
in interface ServerDiscovery
- Overrides:
init
in class UrlServerDiscovery
getKnownHosts
public java.util.List<HostInfo> getKnownHosts(LogonResult result,
SocketServerInstance instance)
- Description copied from interface:
ServerDiscovery
- Get the currently known hosts.
- Specified by:
getKnownHosts
in interface ServerDiscovery
- Overrides:
getKnownHosts
in class UrlServerDiscovery
- Returns:
Copyright © 2009. All Rights Reserved.