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...

Variable Index

 o autoconfValid
 o changed
 o configClients
 o defaultMail
 o firewallAddresses
 o Firewalls
 o generalTemplates
 o Macros
 o NLevels
 o Rules

Constructor Index

 o ManageDomain()

Method Index

 o autoConfig()
Run automatic configuration algorithm, generate rules from templates
 o getTopology()
Returns the topology graph
 o loadDomainConfig(PersistentInputStream)
Load the configuration from a firewall
 o read(PersistentInputStream)
Read object data from a persistent input stream
 o saveDomainConfig(PersistentOutputStream)
Save the complete configuration information to the output stream
 o topologyChanged()
This method is called when the Domain Edit mode is left.
 o write(PersistentOutputStream)
Write object data to a persistent output stream

Variables

 o Firewalls
  protected Vector Firewalls
 o Rules
  protected Vector Rules
 o NLevels
  protected Vector NLevels
 o Macros
  protected Vector Macros
 o generalTemplates
  protected boolean generalTemplates[]
 o autoconfValid
  protected boolean autoconfValid
 o configClients
  protected AddrList configClients
 o defaultMail
  protected String defaultMail
 o firewallAddresses
  protected transient AddrList firewallAddresses
 o changed
  protected transient boolean changed

Constructors

 o ManageDomain
  public ManageDomain()

Methods

 o getTopology
  public Graph getTopology()
Returns the topology graph
 o 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.
 o autoConfig
  public void autoConfig()
Run automatic configuration algorithm, generate rules from templates
 o saveDomainConfig
  public boolean saveDomainConfig(PersistentOutputStream os)
Save the complete configuration information to the output stream
Returns:
true if successful, false if save failed
 o 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
 o write
  public void write(PersistentOutputStream ps)
Write object data to a persistent output stream
Parameters:
ps - Stream
See Also:
PersistentOutputStream
 o 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