|
||||||||||
| 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.CiscoRouterConfigComponent
com.foxsmart.csu.config.global.mapclassframerelay.FrameRelayIpRtpComponent
public class FrameRelayIpRtpComponent
The frame relay IP RTP class assigns a priority queue for RTP streams.
| Field Summary | |
|---|---|
static java.lang.String |
FRAME_RELAY
|
static java.lang.String |
IP
|
static java.lang.Integer |
MAX_BANDWIDTH
The maximum Bandwidth. |
static java.lang.Integer |
MAX_LOW_PORT
The maximum Low Port. |
static java.lang.Integer |
MAX_PORT_RANGE
The maximum Port Range. |
static java.lang.Integer |
MIN_BANDWIDTH
The minimum Bandwidth. |
static java.lang.Integer |
MIN_LOW_PORT
The minimum Low Port. |
static java.lang.Integer |
MIN_PORT_RANGE
The minimum Port Range. |
static java.lang.String |
PRIORITY
|
static java.lang.String |
RTP
|
| Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigComponent |
|---|
commentComponent, componentMap, log, parentComponent |
| Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser |
|---|
NO, tokenIndex |
| Constructor Summary | |
|---|---|
FrameRelayIpRtpComponent()
Constructs a frame relay ip rtp object. |
|
| Method Summary | |
|---|---|
java.util.List |
buildFromIos(java.util.List configLines)
Parse and populate the specific CiscoRouterComponent object based on the passed in individual lines of the IOS configuration. |
Commands |
generateIos()
Returns the IOS configuration commands for this component. |
java.lang.Integer |
getMaxBandwidth()
Gets the maximum bandwidth. |
java.lang.Integer |
getMinUdpPort()
Gets the minimum udp port. |
java.lang.Integer |
getUdpPortRange()
Gets the udp port range. |
void |
setMaxBandwidth(java.lang.Integer maxBandwidth)
Sets the maximum bandwidth. |
void |
setMinUdpPort(java.lang.Integer minUdpPort)
Sets the minimum udp port. |
void |
setUdpPortRange(java.lang.Integer udpPortRange)
Sets the udp port range. |
void |
validate()
Validates this object to ensure it contains a valid IOS configuration. |
| 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 FRAME_RELAY
public static final java.lang.String IP
public static final java.lang.String RTP
public static final java.lang.String PRIORITY
public static final java.lang.Integer MIN_LOW_PORT
public static final java.lang.Integer MAX_LOW_PORT
public static final java.lang.Integer MIN_PORT_RANGE
public static final java.lang.Integer MAX_PORT_RANGE
public static final java.lang.Integer MIN_BANDWIDTH
public static final java.lang.Integer MAX_BANDWIDTH
| Constructor Detail |
|---|
public FrameRelayIpRtpComponent()
| Method Detail |
|---|
public void setMinUdpPort(java.lang.Integer minUdpPort)
minUdpPort - The minimum udp port.public java.lang.Integer getMinUdpPort()
public void setUdpPortRange(java.lang.Integer udpPortRange)
udpPortRange - The udp port range.public java.lang.Integer getUdpPortRange()
public void setMaxBandwidth(java.lang.Integer maxBandwidth)
maxBandwidth - The maximum bandwidth.public java.lang.Integer getMaxBandwidth()
public java.util.List buildFromIos(java.util.List configLines)
throws InvalidConfigurationException
CiscoRouterConfigComponent
buildFromIos in class CiscoRouterConfigComponentconfigLines - The list of IOS configuration lines.
InvalidConfigurationException - if the IOS configuration can not be parsed for any reason.CiscoRouterConfigComponent
public void validate()
throws InvalidConfigurationException
CiscoRouterConfigComponent
validate in class CiscoRouterConfigComponentInvalidConfigurationException - if the configuration is invalid.CiscoRouterConfigComponent
public Commands generateIos()
throws InvalidConfigurationException
CiscoRouterConfigComponent
generateIos in class CiscoRouterConfigComponentInvalidConfigurationException - if the IOS configuration is invalid and the IOS string can not be generated.
The validate() method is used to determine if the configuration is valid.CiscoRouterConfigComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||