jap
Class JAPConfNetworkSavePoint

java.lang.Object
  extended by jap.JAPConfNetworkSavePoint
All Implemented Interfaces:
IJAPConfSavePoint

public class JAPConfNetworkSavePoint
extends java.lang.Object
implements IJAPConfSavePoint

This is the implementation for the forwarding client savepoint. It is needed for restoring an old or the default configuration, if the user presses "Cancel" or "Reset to defaults".


Field Summary
private  boolean m_connectViaForwarder
          Stores whether a forwarder is needed to access the anonymity services.
private  boolean m_forwardInfoService
          Stores whether connections to the InfoService needs also forwarding.
 
Constructor Summary
JAPConfNetworkSavePoint()
           
 
Method Summary
 void createSavePoint()
          This method will store the current forwarding client configuration in this savepoint.
 void restoreDefaults()
          Loads the default forwarding client configuration.
 void restoreSavePoint()
          Restores the old forwarding client configuration (stored with the last call of createSavePoint()).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_connectViaForwarder

private boolean m_connectViaForwarder
Stores whether a forwarder is needed to access the anonymity services.


m_forwardInfoService

private boolean m_forwardInfoService
Stores whether connections to the InfoService needs also forwarding.

Constructor Detail

JAPConfNetworkSavePoint

public JAPConfNetworkSavePoint()
Method Detail

createSavePoint

public void createSavePoint()
This method will store the current forwarding client configuration in this savepoint.

Specified by:
createSavePoint in interface IJAPConfSavePoint

restoreSavePoint

public void restoreSavePoint()
Restores the old forwarding client configuration (stored with the last call of createSavePoint()).

Specified by:
restoreSavePoint in interface IJAPConfSavePoint

restoreDefaults

public void restoreDefaults()
Loads the default forwarding client configuration.

Specified by:
restoreDefaults in interface IJAPConfSavePoint