|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jgroup.relacs.config.ClientsConfig
public final class ClientsConfig
The ClientsConfig
object contains the set of clients
on which client applications may be started.
Constructor Summary | |
---|---|
ClientsConfig()
Constructs an empty distributed system. |
Method Summary | |
---|---|
boolean |
containsLocalHost()
Returns true if the local host is specified in the distributed system configuration; false is returned otherwise. |
HostSet |
getAllHosts()
Returns a set of all hosts parsed; independent of domain. |
DomainSet |
getDomainSet()
Returns the parsed set of domains. |
static Host |
getHost(java.net.InetAddress inetAdr)
Returns the host object associated with the given internet address. |
static Host |
getHost(MemberId member)
Returns the host object associated with the given member. |
Domain |
getLocalDomain()
Returns the domain endpoint that is considered local to this domain. |
Host |
getLocalHost()
Returns the endpoint that is considered local to this host. |
int |
hashCode()
|
int |
numOfDomains()
Returns the number of domains parsed. |
void |
parse(org.w3c.dom.Element elm)
Parses the specified element. |
int |
size()
Returns the size of all hosts parsed; independent of domain. |
java.lang.String |
toString()
Returns a string representation of this object |
java.lang.String |
toString(boolean full)
Returns a string representation of this object; |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClientsConfig()
Method Detail |
---|
public void parse(org.w3c.dom.Element elm) throws ConfigurationException
parse
in interface ConfigurationObject
ConfigurationException
public DomainSet getDomainSet()
public HostSet getAllHosts()
public int size()
public int numOfDomains()
public static Host getHost(MemberId member)
public static Host getHost(java.net.InetAddress inetAdr)
public Host getLocalHost()
public Domain getLocalDomain()
public boolean containsLocalHost()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean full)
full
- If true, prints also the complete host set for each domain.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |