Package freenet.config

Examples of freenet.config.Config


  @Override
  public void run(FCPConnectionHandler handler, Node node) throws MessageInvalidException {
    if(!handler.hasFullAccess()) {
      throw new MessageInvalidException(ProtocolErrorMessage.ACCESS_DENIED, "ModifyConfig requires full access", identifier, false);
    }
    Config config = node.config;
   
    boolean logMINOR = Logger.shouldLog(LogLevel.MINOR, this);
   
    for(SubConfig sc: config.getConfigs()) {
      String prefix = sc.getPrefix();
      for(Option<?> o: sc.getOptions()) {
        String configName=o.getName();
        if(logMINOR) Logger.minor(this, "Setting "+prefix+ '.' +configName);
       
View Full Code Here


  FirstTimeWizardToadlet(HighLevelSimpleClient client, Node node, NodeClientCore core) {
    //Generic Toadlet-related initialization.
    super(client);
    this.core = core;
    Config config = node.config;

    //Add step handlers that aren't set by presets
    steps = new EnumMap<WIZARD_STEP, Step>(WIZARD_STEP.class);
    steps.put(WIZARD_STEP.WELCOME, new WELCOME(config));
    steps.put(WIZARD_STEP.BROWSER_WARNING, new BROWSER_WARNING());
View Full Code Here

TOP

Related Classes of freenet.config.Config

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.