fr.dyade.aaa.agent.conf
Class A3CMLServer
java.lang.Object
fr.dyade.aaa.agent.conf.A3CMLServer
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- A3CMLPServer
- public class A3CMLServer
- extends java.lang.Object
- implements java.io.Serializable
The class Server
describes an agent server.
- See Also:
- Serialized Form
Field Summary |
short |
gateway
For persistent server, Id. |
java.lang.String |
hostname
|
java.lang.String |
jvmArgs
|
java.lang.String |
name
|
java.util.Hashtable |
nat
|
java.util.Vector |
networks
|
java.util.Hashtable |
properties
|
java.util.Vector |
services
|
short |
sid
|
boolean |
visited
True if the server is already visited during configuration phase. |
Constructor Summary |
A3CMLServer(short sid,
java.lang.String name,
java.lang.String hostname)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sid
public short sid
name
public java.lang.String name
hostname
public java.lang.String hostname
services
public java.util.Vector services
jvmArgs
public java.lang.String jvmArgs
properties
public java.util.Hashtable properties
nat
public java.util.Hashtable nat
networks
public java.util.Vector networks
visited
public boolean visited
- True if the server is already visited during configuration phase.
gateway
public short gateway
- For persistent server, Id. of router (1st hop) used to access the
server from current node. if -1 the server is not accessible. This
value is fixed during configuration phase.
For transient server, Id. of proxy used to access this server. This
value is statically fixed.
A3CMLServer
public A3CMLServer(short sid,
java.lang.String name,
java.lang.String hostname)
throws java.lang.Exception
addService
public void addService(A3CMLService service)
addProperty
public A3CMLProperty addProperty(A3CMLProperty prop)
getProperty
public A3CMLProperty getProperty(java.lang.String name)
removeProperty
public A3CMLProperty removeProperty(java.lang.String name)
containsProperty
public boolean containsProperty(java.lang.String name)
addNat
public A3CMLNat addNat(A3CMLNat natElement)
getNat
public A3CMLNat getNat(short sid)
removeNat
public A3CMLNat removeNat(short sid)
containsNat
public boolean containsNat(short sid)
getJvmArgs
public final java.lang.String getJvmArgs()
getService
public final A3CMLService getService(java.lang.String classname)
throws UnknownServiceException
- Throws:
UnknownServiceException
getServiceArgs
public final java.lang.String getServiceArgs(java.lang.String classname)
throws UnknownServiceException
- Throws:
UnknownServiceException
getNetwork
public A3CMLNetwork getNetwork(java.lang.String domainName)
toString
public java.lang.String toString()
equals
public boolean equals(java.lang.Object obj)
Copyright ? 2004 Scalagent - All rights reserved