|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.foxsmart.csu.config.CiscoRouterConfigParser
com.foxsmart.csu.config.global.AccessListEntry
com.foxsmart.csu.config.global.ExtIpAccessListEntry
public abstract class ExtIpAccessListEntry
The ExtIpAccessListEntry contains information used for all extended access lists.
| Field Summary | |
|---|---|
static java.lang.String |
DSCP
|
static java.lang.String |
LOG_TYPE_LOG
Log matches against this entry. |
static java.lang.String |
LOG_TYPE_LOG_INPUT
Log matches against this entry, including input interface. |
static java.lang.String |
PRECEDENCE
|
static java.lang.String |
TIME_RANGE
|
static java.lang.String |
TOS
|
| Fields inherited from class com.foxsmart.csu.config.global.AccessListEntry |
|---|
ANY, DENY, FILTER_TYPE_DENY, FILTER_TYPE_PERMIT, HOST, LOG, LOG_INPUT, PERMIT |
| Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser |
|---|
log, NO, tokenIndex |
| Constructor Summary | |
|---|---|
ExtIpAccessListEntry()
Constructs an extended IP access list entry object. |
|
| Method Summary | |
|---|---|
protected void |
buildFromIos(java.lang.String line,
java.util.List tokens)
This method builds this class from an IOS string. |
protected java.lang.String |
generateIosString()
|
AccessListMatchInfo |
getDestinationMatchInfo()
Gets the destination access list match information. |
DscpEnum |
getDscp()
Gets the DSCP. |
DynamicAccessListInfo |
getDynamicInfo()
Gets the dynamic access list information. |
IcmpTypeEnum |
getIcmpType()
Gets the ICMP Type information. |
IgmpTypeEnum |
getIgmpType()
Gets the IGMP Type Information. |
IpProtocolEnum |
getIpProtocol()
Gets the IP Protocol information. |
java.lang.String |
getLogType()
Gets the logging type. |
PrecedenceEnum |
getPrecedence()
Gets the precedence. |
AccessListMatchInfo |
getSourceMatchInfo()
Gets the source access list match information. |
AccessListTcpFlagInfo |
getTcpFlagInfo()
Gets the TCP flag information. |
java.lang.String |
getTimeRangeEntryName()
Gets the time range entry name. |
TosEnum |
getTos()
Gets the type of service (TOS). |
void |
setDestinationMatchInfo(AccessListMatchInfo destMatchInfo)
Sets the destination access list match information. |
void |
setDscp(DscpEnum dscp)
Sets the DSCP. |
void |
setDynamicInfo(DynamicAccessListInfo dynamicInfo)
Sets the dynamic access list information. |
void |
setIcmpType(IcmpTypeEnum icmpType)
Sets the ICMP Type information. |
void |
setIgmpType(IgmpTypeEnum igmpType)
Sets the IGMP Type Information. |
void |
setIpProtocol(IpProtocolEnum ipProtocol)
Sets the IP Protocol information. |
void |
setLogType(java.lang.String logType)
Sets the logging type. |
void |
setPrecedence(PrecedenceEnum precedence)
Sets the precedence. |
void |
setSourceMatchInfo(AccessListMatchInfo sourceMatchInfo)
Sets the source access list match information. |
void |
setTcpFlagInfo(AccessListTcpFlagInfo tcpFlagInfo)
Sets the TCP flag information. |
void |
setTimeRangeEntryName(java.lang.String timeRangeEntryName)
Sets the time range entry name. |
void |
setTos(TosEnum tos)
Sets the type of service (TOS). |
protected void |
validate()
|
| Methods inherited from class com.foxsmart.csu.config.global.AccessListEntry |
|---|
clone, getFilterType, isAccessNumberSupported, setFilterType, validateAccessListName, validateAccessListNumber, validateFilterType |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TIME_RANGE
public static final java.lang.String DSCP
public static final java.lang.String TOS
public static final java.lang.String PRECEDENCE
public static final java.lang.String LOG_TYPE_LOG
public static final java.lang.String LOG_TYPE_LOG_INPUT
| Constructor Detail |
|---|
public ExtIpAccessListEntry()
| Method Detail |
|---|
public void setSourceMatchInfo(AccessListMatchInfo sourceMatchInfo)
sourceMatchInfo - The source access list match information.public AccessListMatchInfo getSourceMatchInfo()
public void setDestinationMatchInfo(AccessListMatchInfo destMatchInfo)
destMatchInfo - The destination access list match information.public AccessListMatchInfo getDestinationMatchInfo()
public void setTos(TosEnum tos)
tos - The type of service (TOS).public TosEnum getTos()
public void setDscp(DscpEnum dscp)
dscp - The DSCP.public DscpEnum getDscp()
public void setPrecedence(PrecedenceEnum precedence)
precedence - The precedence.public PrecedenceEnum getPrecedence()
public void setTimeRangeEntryName(java.lang.String timeRangeEntryName)
timeRangeEntryName - The time range entry name.public java.lang.String getTimeRangeEntryName()
public void setLogType(java.lang.String logType)
logType - The logging type.public java.lang.String getLogType()
public void setDynamicInfo(DynamicAccessListInfo dynamicInfo)
dynamicInfo - The dynamic access list information.public DynamicAccessListInfo getDynamicInfo()
public void setIpProtocol(IpProtocolEnum ipProtocol)
ipProtocol - The IP Protocol information.public IpProtocolEnum getIpProtocol()
public void setIcmpType(IcmpTypeEnum icmpType)
icmpType - The ICMP Type information.public IcmpTypeEnum getIcmpType()
public void setIgmpType(IgmpTypeEnum igmpType)
igmpType - The IGMP Type Information.public IgmpTypeEnum getIgmpType()
public void setTcpFlagInfo(AccessListTcpFlagInfo tcpFlagInfo)
tcpFlagInfo - The TCP flag information.public AccessListTcpFlagInfo getTcpFlagInfo()
protected void buildFromIos(java.lang.String line,
java.util.List tokens)
throws InvalidConfigurationException
line - The IOS configuration listokens - The list of tokens for this line
InvalidConfigurationException - if there was a configuration error
protected void validate()
throws InvalidConfigurationException
InvalidConfigurationException - if the configuration is invalid.CiscoRouterConfigComponent
protected java.lang.String generateIosString()
throws InvalidConfigurationException
InvalidConfigurationException - alwaysCiscoRouterConfigComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||