kaos.policy.guard
Class KAoSGuardPersistenceManager

java.lang.Object
  extended by kaos.policy.management.PolicyPersistenceManager
      extended by kaos.policy.guard.GuardPersistenceManager
          extended by kaos.policy.guard.KAoSGuardPersistenceManager
All Implemented Interfaces:
PersistenceManager

public class KAoSGuardPersistenceManager
extends GuardPersistenceManager


Field Summary
 
Fields inherited from class kaos.policy.guard.GuardPersistenceManager
_fileName, _state
 
Constructor Summary
KAoSGuardPersistenceManager()
           
KAoSGuardPersistenceManager(GuardState state)
           
KAoSGuardPersistenceManager(java.lang.String fileName)
           
 
Method Summary
 void saveState()
          force the state to be saved immediately
 
Methods inherited from class kaos.policy.guard.GuardPersistenceManager
addAgentDescription, addDomainDescription, deleteAllLogs, deleteLogs, getAgentDescriptions, getAgentDomains, getDomainDescriptions, getDomainNames, getGuardGUID, getHistory, getState, logEvent, readStateFromFile, removeAgentDescription, removeAgentDomains, removeDomainDescription, setAgentDomains, setDomainDescriptions, setGuardGUID, setHistory, setState
 
Methods inherited from class kaos.policy.management.PolicyPersistenceManager
addPolicies, changePolicies, getPolicies, removePolicies, setPolicies
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KAoSGuardPersistenceManager

public KAoSGuardPersistenceManager()

KAoSGuardPersistenceManager

public KAoSGuardPersistenceManager(GuardState state)

KAoSGuardPersistenceManager

public KAoSGuardPersistenceManager(java.lang.String fileName)
Method Detail

saveState

public void saveState()
force the state to be saved immediately

Specified by:
saveState in interface PersistenceManager
Specified by:
saveState in class PolicyPersistenceManager