|
||||||||||
| 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
com.foxsmart.csu.config.global.AccessListUdpPortMatchInfo
public class AccessListUdpPortMatchInfo
This class represents the port match information for the UDP protocol.
| Field Summary |
|---|
| Fields inherited from class com.foxsmart.csu.config.global.AccessListPortMatchInfo |
|---|
PORT_OPERATION_EQUAL, PORT_OPERATION_GREATER_THAN, PORT_OPERATION_LESS_THAN, PORT_OPERATION_NOT_EQUAL, PORT_OPERATION_RANGE |
| Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser |
|---|
log, NO, tokenIndex |
| Constructor Summary | |
|---|---|
AccessListUdpPortMatchInfo()
|
|
| Method Summary | |
|---|---|
java.lang.String |
generateIos()
Generates the IOS string associated with this part of the router configuration. |
UdpPortEnum |
getPort1()
Gets the UDP port 1. |
UdpPortEnum |
getPort2()
Gets the UDP port 2. |
void |
setPort1(UdpPortEnum port1)
Sets the UDP port 1. |
void |
setPort2(UdpPortEnum port2)
Sets the UDP port 2. |
void |
validate()
|
| Methods inherited from class com.foxsmart.csu.config.global.AccessListPortMatchInfo |
|---|
getPortOperation, setPortOperation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccessListUdpPortMatchInfo()
| Method Detail |
|---|
public void setPort1(UdpPortEnum port1)
port1 - The UDP port 1.public UdpPortEnum getPort1()
public void setPort2(UdpPortEnum port2)
port2 - The UDP port 2.public UdpPortEnum getPort2()
public void validate()
throws InvalidConfigurationException
validate in class AccessListPortMatchInfoInvalidConfigurationException - if the configuration is invalid.CiscoRouterConfigComponent
public java.lang.String generateIos()
throws InvalidConfigurationException
generateIos in class AccessListPortMatchInfoInvalidConfigurationException - if the configuration is invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||