public abstract class UpdateMessage extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UpdateMessage.Http1RuleUpdate |
static class |
UpdateMessage.IpRuleUpdate |
Modifier and Type | Field and Description |
---|---|
protected Object |
payload |
protected RuleType |
ruleType |
protected UpdateType |
updateType |
Modifier and Type | Method and Description |
---|---|
static UpdateMessage |
addHttp1Rule(Http1DeterministicRuleEngineConfig.Rule http1Rule,
RuleType ruleType) |
static UpdateMessage |
addIpRule(InetAddress address,
RuleType ruleType) |
abstract void |
process(com.xjeffrose.xio.config.UpdateHandler handler) |
static UpdateMessage |
removeHttp1Rule(Http1DeterministicRuleEngineConfig.Rule http1Rule) |
static UpdateMessage |
removeIpRule(InetAddress address) |
protected final UpdateType updateType
protected final Object payload
protected final RuleType ruleType
public abstract void process(com.xjeffrose.xio.config.UpdateHandler handler)
public static UpdateMessage addIpRule(InetAddress address, RuleType ruleType)
public static UpdateMessage removeIpRule(InetAddress address)
public static UpdateMessage addHttp1Rule(Http1DeterministicRuleEngineConfig.Rule http1Rule, RuleType ruleType)
public static UpdateMessage removeHttp1Rule(Http1DeterministicRuleEngineConfig.Rule http1Rule)
Copyright © 2016. All Rights Reserved.