fr.dyade.aaa.agent.conf

Class A3CMLServer

Implemented Interfaces:
Serializable
Known Direct Subclasses:
A3CMLPServer

public class A3CMLServer
extends java.lang.Object
implements Serializable

The class Server describes an agent server.

Field Summary

short
gateway
For persistent server, Id.
String
hostname
String
jvmArgs
String
name
Hashtable
nat
Vector
networks
Hashtable
properties
Vector
services
short
sid
boolean
visited
True if the server is already visited during configuration phase.

Constructor Summary

A3CMLServer(short sid, String name, String hostname)

Method Summary

A3CMLNat
addNat(A3CMLNat natElement)
A3CMLProperty
addProperty(A3CMLProperty prop)
void
addService(A3CMLService service)
boolean
containsNat(short sid)
boolean
containsProperty(String name)
boolean
equals(Object obj)
String
getJvmArgs()
A3CMLNat
getNat(short sid)
A3CMLNetwork
getNetwork(String domainName)
A3CMLProperty
getProperty(String name)
A3CMLService
getService(String classname)
String
getServiceArgs(String classname)
A3CMLNat
removeNat(short sid)
A3CMLProperty
removeProperty(String name)
String
toString()

Field Details

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.


hostname

public String hostname


jvmArgs

public String jvmArgs


name

public String name


nat

public Hashtable nat


networks

public Vector networks


properties

public Hashtable properties


services

public Vector services


sid

public short sid


visited

public boolean visited
True if the server is already visited during configuration phase.

Constructor Details

A3CMLServer

public A3CMLServer(short sid,
                   String name,
                   String hostname)
            throws Exception

Method Details

addNat

public A3CMLNat addNat(A3CMLNat natElement)


addProperty

public A3CMLProperty addProperty(A3CMLProperty prop)


addService

public void addService(A3CMLService service)


containsNat

public boolean containsNat(short sid)


containsProperty

public boolean containsProperty(String name)


equals

public boolean equals(Object obj)


getJvmArgs

public final String getJvmArgs()


getNat

public A3CMLNat getNat(short sid)


getNetwork

public A3CMLNetwork getNetwork(String domainName)


getProperty

public A3CMLProperty getProperty(String name)


getService

public final A3CMLService getService(String classname)
            throws UnknownServiceException


getServiceArgs

public final String getServiceArgs(String classname)
            throws UnknownServiceException


removeNat

public A3CMLNat removeNat(short sid)


removeProperty

public A3CMLProperty removeProperty(String name)


toString

public String toString()


Copyright B) 2004 Scalagent - All rights reserved