cz.cuni.amis.pogamut.base.debug
Class DebugServersProvider

java.lang.Object
  extended by 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
           
 
Constructor Summary
DebugServersProvider()
           
 
Method Summary
static void deregisterServer(java.lang.String server)
           
static java.lang.String getServersList()
           
static void registerServer(java.lang.String server)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

DebugServersProvider

public DebugServersProvider()
Method Detail

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)