|
||||||||||
| 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.AccessListPortMatchInfo
public abstract class AccessListPortMatchInfo
This class represents the port match information for a particular IP protocol.
| Field Summary | |
|---|---|
static java.lang.String |
PORT_OPERATION_EQUAL
Match only packets on a given port number. |
static java.lang.String |
PORT_OPERATION_GREATER_THAN
Match only packets with a greater port number. |
static java.lang.String |
PORT_OPERATION_LESS_THAN
Match only packets with a lower port number. |
static java.lang.String |
PORT_OPERATION_NOT_EQUAL
Match only packets not on a given port number. |
static java.lang.String |
PORT_OPERATION_RANGE
Match only packets in the range of port numbers. |
| Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser |
|---|
log, NO, tokenIndex |
| Constructor Summary | |
|---|---|
AccessListPortMatchInfo()
|
|
| Method Summary | |
|---|---|
abstract java.lang.String |
generateIos()
Generates the IOS string associated with this part of the router configuration. |
java.lang.String |
getPortOperation()
Gets the port operation. |
void |
setPortOperation(java.lang.String portOperation)
Sets the port operation. |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PORT_OPERATION_EQUAL
public static final java.lang.String PORT_OPERATION_GREATER_THAN
public static final java.lang.String PORT_OPERATION_LESS_THAN
public static final java.lang.String PORT_OPERATION_NOT_EQUAL
public static final java.lang.String PORT_OPERATION_RANGE
| Constructor Detail |
|---|
public AccessListPortMatchInfo()
| Method Detail |
|---|
public void setPortOperation(java.lang.String portOperation)
portOperation - The port operation.public java.lang.String getPortOperation()
public void validate()
throws InvalidConfigurationException
InvalidConfigurationException - if the configuration is invalid.CiscoRouterConfigComponent
public abstract java.lang.String generateIos()
throws InvalidConfigurationException
InvalidConfigurationException - if the configuration is invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||