|
||||||||||
| 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.FrameRelayEndToEndKeepaliveComponent
public class FrameRelayEndToEndKeepaliveComponent
The frame relay end to end keepalive command configures frame-relay end-to-end VC parameters.
| Field Summary | |
|---|---|
static java.lang.String |
END_TO_END
|
static java.lang.String |
ERROR_THRESHOLD
|
static java.lang.String |
EVENT_WINDOW
|
static java.lang.String |
FRAME_RELAY
|
static java.lang.String |
KEEPALIVE
|
static java.lang.Integer |
MAX_ERROR_THRESHOLD_COUNT
The maximum error threshold count. |
static java.lang.Integer |
MAX_EVENT_WINDOW_COUNT
The maximum event window count. |
static java.lang.Integer |
MAX_SUCCESS_EVENTS_COUNT
The maximum success events count. |
static java.lang.Integer |
MAX_TIMER_SECONDS
The maximum timer seconds. |
static java.lang.Integer |
MIN_ERROR_THRESHOLD_COUNT
The minimum error threshold count. |
static java.lang.Integer |
MIN_EVENT_WINDOW_COUNT
The minimum event window count. |
static java.lang.Integer |
MIN_SUCCESS_EVENTS_COUNT
The minimum success events count. |
static java.lang.Integer |
MIN_TIMER_SECONDS
The minimum timer seconds. |
static java.lang.String |
MODE
|
static java.lang.String |
RECV
|
static java.lang.String |
SEND
|
static java.lang.String |
SUCCESS_EVENTS
|
static java.lang.String |
TIMER
|
| 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 | |
|---|---|
FrameRelayEndToEndKeepaliveComponent()
Constructs a frame relay end to end keepalive 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 |
generateDeleteIos(CiscoRouterConfig updatedCiscoRouterConfig)
Generates the IOS configuration commands to delete this component. |
Commands |
generateIos()
Returns the IOS configuration commands for this component. |
java.lang.Integer |
getErrorThresholdReceiveCount()
Gets the error threshold receive count. |
java.lang.Integer |
getErrorThresholdSendCount()
Gets the error threshold send count. |
java.lang.Integer |
getEventWindowReceiveCount()
Gets the event window receive count. |
java.lang.Integer |
getEventWindowSendCount()
Gets the event window send count. |
FrameRelayEndToEndKeepaliveModeEnum |
getMode()
Gets the mode. |
java.lang.Integer |
getSuccessEventsReceiveCount()
Gets the success events receive count. |
java.lang.Integer |
getSuccessEventsSendCount()
Gets the success events send count. |
java.lang.Integer |
getTimerReceiveValue()
Gets the timer receive value. |
java.lang.Integer |
getTimerSendValue()
Gets the timer send value. |
void |
setErrorThresholdReceiveCount(java.lang.Integer errorThresholdReceiveCount)
Sets the error threshold receive count. |
void |
setErrorThresholdSendCount(java.lang.Integer errorThresholdSendCount)
Sets the error threshold send count. |
void |
setEventWindowReceiveCount(java.lang.Integer eventWindowReceiveCount)
Sets the event window receive count. |
void |
setEventWindowSendCount(java.lang.Integer eventWindowSendCount)
Sets the event window send count. |
void |
setMode(FrameRelayEndToEndKeepaliveModeEnum mode)
Sets the mode. |
void |
setSuccessEventsReceiveCount(java.lang.Integer successEventsReceiveCount)
Sets the success events receive count. |
void |
setSuccessEventsSendCount(java.lang.Integer successEventsSendCount)
Sets the success events send count. |
void |
setTimerReceiveValue(java.lang.Integer timerReceiveValue)
Sets the timer receive value. |
void |
setTimerSendValue(java.lang.Integer timerSendValue)
Sets the timer send value. |
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 END_TO_END
public static final java.lang.String KEEPALIVE
public static final java.lang.String MODE
public static final java.lang.String TIMER
public static final java.lang.String EVENT_WINDOW
public static final java.lang.String ERROR_THRESHOLD
public static final java.lang.String SUCCESS_EVENTS
public static final java.lang.String SEND
public static final java.lang.String RECV
public static final java.lang.Integer MIN_ERROR_THRESHOLD_COUNT
public static final java.lang.Integer MAX_ERROR_THRESHOLD_COUNT
public static final java.lang.Integer MIN_EVENT_WINDOW_COUNT
public static final java.lang.Integer MAX_EVENT_WINDOW_COUNT
public static final java.lang.Integer MIN_SUCCESS_EVENTS_COUNT
public static final java.lang.Integer MAX_SUCCESS_EVENTS_COUNT
public static final java.lang.Integer MIN_TIMER_SECONDS
public static final java.lang.Integer MAX_TIMER_SECONDS
| Constructor Detail |
|---|
public FrameRelayEndToEndKeepaliveComponent()
| Method Detail |
|---|
public void setMode(FrameRelayEndToEndKeepaliveModeEnum mode)
mode - The mode.public FrameRelayEndToEndKeepaliveModeEnum getMode()
public void setTimerReceiveValue(java.lang.Integer timerReceiveValue)
timerReceiveValue - The timer receive value.public java.lang.Integer getTimerReceiveValue()
public void setTimerSendValue(java.lang.Integer timerSendValue)
timerSendValue - The timer send value.public java.lang.Integer getTimerSendValue()
public void setEventWindowReceiveCount(java.lang.Integer eventWindowReceiveCount)
eventWindowReceiveCount - The event window receive count.public java.lang.Integer getEventWindowReceiveCount()
public void setEventWindowSendCount(java.lang.Integer eventWindowSendCount)
eventWindowSendCount - The event window send count.public java.lang.Integer getEventWindowSendCount()
public void setErrorThresholdReceiveCount(java.lang.Integer errorThresholdReceiveCount)
errorThresholdReceiveCount - The error threshold receive count.public java.lang.Integer getErrorThresholdReceiveCount()
public void setErrorThresholdSendCount(java.lang.Integer errorThresholdSendCount)
errorThresholdSendCount - The error threshold send count.public java.lang.Integer getErrorThresholdSendCount()
public void setSuccessEventsReceiveCount(java.lang.Integer successEventsReceiveCount)
successEventsReceiveCount - The success events receive count.public java.lang.Integer getSuccessEventsReceiveCount()
public void setSuccessEventsSendCount(java.lang.Integer successEventsSendCount)
successEventsSendCount - The success events send count.public java.lang.Integer getSuccessEventsSendCount()
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
public Commands generateDeleteIos(CiscoRouterConfig updatedCiscoRouterConfig)
throws InvalidConfigurationException
CiscoRouterConfigComponent
generateDeleteIos in interface MultiLineComponentgenerateDeleteIos in class CiscoRouterConfigComponentupdatedCiscoRouterConfig - the updated Cisco router configuration.
InvalidConfigurationException - 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.MultiLineComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||