public class PPPoEUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PPPoEUtils.PPPoELogin |
Constructor and Description |
---|
PPPoEUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
generateRule(java.lang.String nasId,
GateType gateType,
java.lang.String data,
java.util.HashMap<java.lang.Integer,java.lang.String[]> ruleTypes) |
static java.lang.String |
getAttributes(java.lang.String ruleTypeConfig) |
static java.lang.String |
getRealm(java.lang.String ruleTypeConfig) |
static java.util.HashMap<java.lang.Integer,java.lang.String[]> |
getRuleTypes(java.util.Map<java.lang.Integer,RuleType> ruleTypeMap) |
static PPPoEUtils.PPPoELogin |
parseRule(java.lang.String data) |
static java.lang.String |
rulesToString(java.util.List<PPPoERule> ruleList) |
public static java.lang.String getRealm(java.lang.String ruleTypeConfig)
public static java.lang.String getAttributes(java.lang.String ruleTypeConfig)
public static PPPoEUtils.PPPoELogin parseRule(java.lang.String data)
public static java.lang.String rulesToString(java.util.List<PPPoERule> ruleList)
public static java.util.HashMap<java.lang.Integer,java.lang.String[]> getRuleTypes(java.util.Map<java.lang.Integer,RuleType> ruleTypeMap)
public static java.lang.String generateRule(java.lang.String nasId, GateType gateType, java.lang.String data, java.util.HashMap<java.lang.Integer,java.lang.String[]> ruleTypes)