public class A3CMLDomain extends Object implements Serializable
A3CMLDomain
describes an agent server domain.Modifier and Type | Field and Description |
---|---|
short |
gateway
Server Id. of router (1st hop) to access this domain from current node,
if -1 the domain is not accessible.
|
int |
hops
Logical distance between the server of this domain and the root one, i.e.
|
String |
name
Name of the domain.
|
String |
network
Full name of Java class
|
private static long |
serialVersionUID
Define serialVersionUID for interoperability.
|
Vector<A3CMLServer> |
servers
Description of alls servers in domain
|
Constructor and Description |
---|
A3CMLDomain(String name,
String network) |
Modifier and Type | Method and Description |
---|---|
void |
addServer(A3CMLServer server) |
A3CMLDomain |
duplicate() |
A3CMLDomain |
duplicate(Hashtable<Short,A3CMLServer> context) |
boolean |
equals(Object obj) |
short[] |
getServersId() |
int |
hashCode() |
void |
removeServer(A3CMLServer server) |
void |
removeServer(short sid) |
String |
toString() |
private static final long serialVersionUID
public String name
public String network
public Vector<A3CMLServer> servers
public short gateway
public int hops
public void addServer(A3CMLServer server)
public void removeServer(A3CMLServer server)
public void removeServer(short sid)
public short[] getServersId()
public A3CMLDomain duplicate() throws Exception
Exception
public A3CMLDomain duplicate(Hashtable<Short,A3CMLServer> context) throws Exception
Exception
Copyright © 2020 ScalAgent D.T.. All rights reserved.