cz.cuni.amis.pogamut.base.debug
Class DebugServersProvider
java.lang.Object
cz.cuni.amis.pogamut.base.debug.DebugServersProvider
public class DebugServersProvider
- extends java.lang.Object
Here agents register/deregister servers that they are running on. This information
can be used later for debugging. The debugger can pause/unpause the server to ease
the debugging.
Field Summary |
static java.lang.String |
DELIMITER
|
protected static java.util.Map<java.lang.String,java.lang.Integer> |
servers
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELIMITER
public static final java.lang.String DELIMITER
- See Also:
- Constant Field Values
servers
protected static java.util.Map<java.lang.String,java.lang.Integer> servers
DebugServersProvider
public DebugServersProvider()
getServersList
public static java.lang.String getServersList()
- Returns:
- Comma separated list of servers' adresses
registerServer
public static void registerServer(java.lang.String server)
- Parameters:
server
- uri of server
deregisterServer
public static void deregisterServer(java.lang.String server)