public class ErrorTableEntry extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
errorStructCPIndex |
protected int |
ipFrom |
protected int |
ipTarget |
protected int |
ipTo |
protected int |
priority |
| Constructor and Description |
|---|
ErrorTableEntry(int ipFrom,
int ipTo,
int ipTarget,
int priority,
int errorStructCPIndex) |
| Modifier and Type | Method and Description |
|---|---|
StructInfo |
getError() |
int |
getErrorStructCPIndex()
returns ErrorStructCPEntryIndex.
|
int |
getIpFrom() |
int |
getIpTarget() |
int |
getIpTo() |
static ErrorTableEntry |
getMatch(PackageInfo packageInfo,
int currentIP,
BStruct error) |
int |
getPriority() |
boolean |
matchRange(int currentIP) |
void |
setError(StructInfo error) |
void |
setPackageInfo(PackageInfo packageInfo) |
String |
toString() |
protected int ipFrom
protected int ipTo
protected int ipTarget
protected int priority
protected int errorStructCPIndex
public ErrorTableEntry(int ipFrom,
int ipTo,
int ipTarget,
int priority,
int errorStructCPIndex)
public int getIpFrom()
public int getIpTo()
public int getIpTarget()
public int getPriority()
public int getErrorStructCPIndex()
public void setPackageInfo(PackageInfo packageInfo)
public StructInfo getError()
public void setError(StructInfo error)
public boolean matchRange(int currentIP)
public static ErrorTableEntry getMatch(PackageInfo packageInfo, int currentIP, BStruct error)
Copyright © 2018 WSO2. All rights reserved.