| Modifier and Type | Field and Description |
|---|---|
static TypedPreference<IQuantity> |
READ_INFO_LIMIT |
static TypedPreference<IQuantity> |
READ_WARNING_LIMIT |
| Constructor and Description |
|---|
SocketReadRule() |
| Modifier and Type | Method and Description |
|---|---|
RunnableFuture<Result> |
evaluate(IItemCollection items,
IPreferenceValueProvider vp)
Gets a future representing the result of the evaluation of this rule.
|
Collection<TypedPreference<?>> |
getConfigurationAttributes()
Gets information about which attributes may be configured during rule evaluation.
|
String |
getId() |
String |
getName() |
String |
getTopic() |
protected static String |
sanitizeAddress(String address) |
public static final TypedPreference<IQuantity> READ_INFO_LIMIT
public static final TypedPreference<IQuantity> READ_WARNING_LIMIT
public RunnableFuture<Result> evaluate(IItemCollection items, IPreferenceValueProvider vp)
IRuleevaluate in interface IRuleitems - items to evaluatevp - Provider of configuration values used for evaluation. The attributes that will be
asked for from the provider should be provided by
IRule.getConfigurationAttributes().public Collection<TypedPreference<?>> getConfigurationAttributes()
IRulegetConfigurationAttributes in interface IRulepublic String getId()
public String getName()
Copyright © 2020. All rights reserved.