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

Package class diagram package DebugServersProvider
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.debug.DebugServersProvider

public class DebugServersProvider
extends 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.

Author:
Ik

Field Summary
static String DELIMITER
           
protected static Map<String,Integer> servers
           
 
Constructor Summary
DebugServersProvider()
           
 
Method Summary
static void deregisterServer(String server)
           
static String getServersList()
           
static void registerServer(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 String DELIMITER
See Also:
Constant Field Values

servers

protected static Map<String,Integer> servers
Constructor Detail

DebugServersProvider

public DebugServersProvider()
Method Detail

getServersList

public static String getServersList()
Returns:
Comma separated list of servers' adresses

registerServer

public static void registerServer(String server)
Parameters:
server - uri of server

deregisterServer

public static void deregisterServer(String server)


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.