fr.dyade.aaa.agent.conf
Class A3CMLDomain

java.lang.Object
  extended by fr.dyade.aaa.agent.conf.A3CMLDomain
All Implemented Interfaces:
java.io.Serializable

public class A3CMLDomain
extends java.lang.Object
implements java.io.Serializable

The class A3CMLDomain describes an agent server domain.

See Also:
Serialized Form

Field Summary
 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.
 java.lang.String name
          Name of the domain.
 java.lang.String network
          Full name of Java class
private static long serialVersionUID
           
 java.util.Vector servers
          Description of alls servers in domain
 
Constructor Summary
A3CMLDomain(java.lang.String name, java.lang.String network)
           
 
Method Summary
 void addServer(A3CMLServer server)
           
 A3CMLDomain duplicate()
           
 A3CMLDomain duplicate(java.util.Hashtable context)
           
 boolean equals(java.lang.Object obj)
           
 short[] getServersId()
           
 int hashCode()
           
 void removeServer(A3CMLServer server)
           
 void removeServer(short sid)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

name

public java.lang.String name
Name of the domain.


network

public java.lang.String network
Full name of Java class


servers

public java.util.Vector servers
Description of alls servers in domain


gateway

public short gateway
Server Id. of router (1st hop) to access this domain from current node, if -1 the domain is not accessible.


hops

public int hops
Logical distance between the server of this domain and the root one, i.e. the number of hops to reach a server from the local one.

Constructor Detail

A3CMLDomain

public A3CMLDomain(java.lang.String name,
                   java.lang.String network)
            throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

addServer

public void addServer(A3CMLServer server)

removeServer

public void removeServer(A3CMLServer server)

removeServer

public void removeServer(short sid)

getServersId

public short[] getServersId()

duplicate

public A3CMLDomain duplicate()
                      throws java.lang.Exception
Throws:
java.lang.Exception

duplicate

public A3CMLDomain duplicate(java.util.Hashtable context)
                      throws java.lang.Exception
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.