Package com.subgraph.orchid.TorConfig

Examples of com.subgraph.orchid.TorConfig.ConfigVarType


    return hsAuth.get((String) args[0]);
  }

  private void invokeAddMethod(Method method, Object[] args) {
    final String name = getVariableNameForMethod(method);
    final ConfigVarType type = getVariableType(name);
    switch(type) {
    case HS_AUTH:
      invokeHSAuthAdd(name, args);
      break;
     
View Full Code Here


    }
  }

  private Object getDefaultVariableValue(String varName) {
    final String defaultValue = getDefaultValueString(varName);
    final ConfigVarType type = getVariableType(varName);
    if(defaultValue == null || type == null) {
      return null;
    }
    return parser.parseValue(defaultValue, type);
  }
View Full Code Here

TOP

Related Classes of com.subgraph.orchid.TorConfig.ConfigVarType

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.