org.glite.voms.contact

Class VOMSServerMap


public class VOMSServerMap
extends java.lang.Object

A VOMSServerMap organizes voms servers found in vomses configuration files in map keyed by vo. This way is easy to know which servers acts as replicas for the same vos. For more info about vomses configuration files, see VOMSESFileParser.

Field Summary

protected Map
map

Method Summary

void
add(VOMSServerInfo info)
Set
get(String nick)
void
merge(VOMSServerMap other)
Merge this map with another VOMSServerMap object.
int
serverCount(String nick)
String
toString()

Field Details

map

protected Map map

Method Details

add

public void add(VOMSServerInfo info)

get

public Set get(String nick)

merge

public void merge(VOMSServerMap other)
Merge this map with another VOMSServerMap object.
Parameters:
other -

serverCount

public int serverCount(String nick)

toString

public String toString()