|
||||||||||
| 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.mapclassdialer.DialerIsdnComponent
public class DialerIsdnComponent
The dailer isdn class represents the ISDN settings for the map class dailer.
| Field Summary | |
|---|---|
static java.lang.String |
_56
|
static java.lang.String |
DIALER
|
static java.lang.String |
ISDN
|
static java.lang.Integer |
ISDN_56K_SPEED
An ISDN speed of 56 Kbps. |
static java.lang.Integer |
MAX_SECONDS
The maximum number of seconds. |
static java.lang.Integer |
MIN_SECONDS
The minimum number of seconds. |
static java.lang.String |
SHORT_HOLD
|
static java.lang.String |
SPC
|
static java.lang.String |
SPEED
|
| 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 | |
|---|---|
DialerIsdnComponent()
Constructs a dailer Isdn 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 |
getIsdnSpeed()
Gets the ISDN speed. |
java.lang.Integer |
getShortHoldTimeout()
Gets the short hold timeout. |
boolean |
getSpcFlag()
Gets the SPC flag. |
void |
setIsdnSpeed(java.lang.Integer isdnSpeed)
Sets the ISDN speed in Kbps. |
void |
setShortHoldTimeout(java.lang.Integer shortHoldTimeout)
Sets the short hold timeout. |
void |
setSpcFlag(boolean spcFlag)
Sets the Semi-permanent connection (SPC) flag. |
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 DIALER
public static final java.lang.String ISDN
public static final java.lang.String SHORT_HOLD
public static final java.lang.String SPC
public static final java.lang.String SPEED
public static final java.lang.String _56
public static final java.lang.Integer MIN_SECONDS
public static final java.lang.Integer MAX_SECONDS
public static final java.lang.Integer ISDN_56K_SPEED
| Constructor Detail |
|---|
public DialerIsdnComponent()
| Method Detail |
|---|
public void setIsdnSpeed(java.lang.Integer isdnSpeed)
isdnSpeed - The ISDN speed.public java.lang.Integer getIsdnSpeed()
public void setSpcFlag(boolean spcFlag)
spcFlag - The SPC flag.public boolean getSpcFlag()
public void setShortHoldTimeout(java.lang.Integer shortHoldTimeout)
shortHoldTimeout - The short hold timeout.public java.lang.Integer getShortHoldTimeout()
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 | |||||||||