|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.common.comm.platform.socket.client.UrlServerDiscovery
public class UrlServerDiscovery
Simple URL discovery strategy
| Constructor Summary | |
|---|---|
UrlServerDiscovery()
|
|
UrlServerDiscovery(MMURL url)
|
|
| Method Summary | |
|---|---|
void |
connectionSuccessful(HostInfo info)
Indicates that a connection was made successfully to the given host. |
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 |
void |
markInstanceAsBad(HostInfo info)
Indicates that a connection could not be made to the given host. |
void |
shutdown()
Shutdown this ServerDiscovery |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UrlServerDiscovery()
public UrlServerDiscovery(MMURL url)
| Method Detail |
|---|
public java.util.List<HostInfo> getKnownHosts(LogonResult result,
SocketServerInstance instance)
ServerDiscovery
getKnownHosts in interface ServerDiscovery
public void init(MMURL url,
java.util.Properties p)
ServerDiscoveryServerDiscovery
init in interface ServerDiscoverypublic void connectionSuccessful(HostInfo info)
ServerDiscovery
connectionSuccessful in interface ServerDiscoverypublic void markInstanceAsBad(HostInfo info)
ServerDiscovery
markInstanceAsBad in interface ServerDiscoverypublic void shutdown()
ServerDiscoveryServerDiscovery
shutdown in interface ServerDiscovery
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||