com.metamatrix.common.comm.platform.socket.client
Class AdminApiServerDiscovery

java.lang.Object
  extended by com.metamatrix.common.comm.platform.socket.client.UrlServerDiscovery
      extended by 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
 
Constructor Summary
AdminApiServerDiscovery()
           
 
Method Summary
 java.util.List<HostInfo> getKnownHosts(LogonResult result, SocketServerInstance instance)
          Get the currently known hosts.
 void init(MMURL url, java.util.Properties p)
          Initialize the ServerDiscovery
 
Methods inherited from class com.metamatrix.common.comm.platform.socket.client.UrlServerDiscovery
connectionSuccessful, markInstanceAsBad, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

AdminApiServerDiscovery

public AdminApiServerDiscovery()
Method Detail

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.