Class sfclasses.ManageDomain
All Packages Class Hierarchy This Package Previous Next Index
Class sfclasses.ManageDomain
java.lang.Object
|
+----sfclasses.ManageDomain
- public class ManageDomain
- extends Object
- implements Persistent
This class describes a complete manageable domain. This includes
the network topology, the firewall configuration, statistics...
-
autoconfValid
-
-
changed
-
-
configClients
-
-
defaultMail
-
-
firewallAddresses
-
-
Firewalls
-
-
generalTemplates
-
-
Macros
-
-
NLevels
-
-
Rules
-
-
ManageDomain()
-
-
autoConfig()
-
Run automatic configuration algorithm,
generate rules from templates
-
getTopology()
- Returns the topology graph
-
loadDomainConfig(PersistentInputStream)
- Load the configuration from a firewall
-
read(PersistentInputStream)
- Read object data from a persistent input stream
-
saveDomainConfig(PersistentOutputStream)
- Save the complete configuration information to the output stream
-
topologyChanged()
- This method is called when the Domain Edit mode is left.
-
write(PersistentOutputStream)
- Write object data to a persistent output stream
Firewalls
protected Vector Firewalls
Rules
protected Vector Rules
NLevels
protected Vector NLevels
Macros
protected Vector Macros
generalTemplates
protected boolean generalTemplates[]
autoconfValid
protected boolean autoconfValid
configClients
protected AddrList configClients
defaultMail
protected String defaultMail
firewallAddresses
protected transient AddrList firewallAddresses
changed
protected transient boolean changed
ManageDomain
public ManageDomain()
getTopology
public Graph getTopology()
- Returns the topology graph
topologyChanged
public void topologyChanged()
- This method is called when the Domain Edit mode is left. It is used
to scan all Items for changes the domain has to know of.
autoConfig
public void autoConfig()
- Run automatic configuration algorithm,
generate rules from templates
saveDomainConfig
public boolean saveDomainConfig(PersistentOutputStream os)
- Save the complete configuration information to the output stream
- Returns:
- true if successful, false if save failed
loadDomainConfig
public static ManageDomain loadDomainConfig(PersistentInputStream is)
- Load the configuration from a firewall
- Parameters:
- from - firewall to load configuration from
- Returns:
- ManageDomain object containing the configuration
write
public void write(PersistentOutputStream ps)
- Write object data to a persistent output stream
- Parameters:
- ps - Stream
- See Also:
- PersistentOutputStream
read
public void read(PersistentInputStream ps) throws IOException
- Read object data from a persistent input stream
- Parameters:
- ps - Stream
- See Also:
- PersistentInputStream
All Packages Class Hierarchy This Package Previous Next Index