fr.dyade.aaa.agent
Class ServerDesc
java.lang.Object
fr.dyade.aaa.agent.ServerDesc
- Serializable
public final class ServerDesc
extends java.lang.Object
implements Serializable
Description of an agent server. It is used by Channel
and
Network
objects. Be careful, this structure is initialized
in AgentServer, but it can be viewed outside of the agent package, so
it's very important to make all modifiers package.
ServerDesc(short sid, String name, String hostname) - Constructs a new node for a persistent agent server.
|
ServerDesc
public ServerDesc(short sid,
String name,
String hostname)
Constructs a new node for a persistent agent server.
name
- server namehostname
- host name
getAddr
public InetAddress getAddr()
Returns an IP address for its server.
- an IP address for this server.
getDomainName
public String getDomainName()
getDomainType
public Class getDomainType()
getGateway
public short getGateway()
getHostname
public String getHostname()
Gets host name for this server.
- the host name.
getPort
public int getPort()
getServerId
public short getServerId()
Gets server id. for this server.
- the server id.
getServerName
public String getServerName()
Gets server name for this server.
- the server name.
getServices
public ServiceDesc[] getServices()
Gets the description of services running on this server.
- the description of services.
resetAddr
public InetAddress resetAddr()
Resolves an IP address for its server, don't use an eventually caching
address.
- an IP address for this server.
toString
public String toString()
Provides a string image for this object.
- printable image of this object
Copyright B) 2004 Scalagent - All rights reserved