|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerDiscovery
Customizable ServerDiscovery interface
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 |
Method Detail |
---|
void init(MMURL url, java.util.Properties p)
ServerDiscovery
url
- p
- java.util.List<HostInfo> getKnownHosts(LogonResult result, SocketServerInstance instance)
result,
- the current LogonResult
- may be null if unauthenticatedinstance,
- the currently connected instance - may be null if not connected
void connectionSuccessful(HostInfo info)
info
- void markInstanceAsBad(HostInfo info)
info
- void shutdown()
ServerDiscovery
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |