|
||||||||||
| 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.line.TelnetSpeed
public class TelnetSpeed
The TelnetSpeed class contains the telnet speed information.
| Field Summary | |
|---|---|
static java.lang.Long |
DEFAULT_MAX_SPEED
|
static long |
MAX_SPEED
|
static long |
MIN_SPEED
|
static java.lang.String |
SPEED
|
| Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser |
|---|
log, NO, tokenIndex |
| Constructor Summary | |
|---|---|
TelnetSpeed()
Constructs a modem speed object. |
|
| Method Summary | |
|---|---|
Commands |
generateDeleteIos(CiscoRouterConfig updatedCiscoRouterConfig)
Generates the IOS associated with deleting this "component". |
Commands |
generateIos()
Generates the IOS associated with this "component". |
java.lang.Long |
getDefaultSpeed()
Gets the default speed. |
java.lang.Long |
getMaximumSpeed()
Gets the maximum speed. |
void |
setDefaultSpeed(java.lang.Long defaultSpeed)
Sets the default speed. |
void |
setMaximumSpeed(java.lang.Long maximumSpeed)
Sets the maximum speed. |
void |
validate()
Ensure this "component" is valid. |
| 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 SPEED
public static final long MIN_SPEED
public static final long MAX_SPEED
public static final java.lang.Long DEFAULT_MAX_SPEED
| Constructor Detail |
|---|
public TelnetSpeed()
| Method Detail |
|---|
public void setDefaultSpeed(java.lang.Long defaultSpeed)
defaultSpeed - The default speed.public java.lang.Long getDefaultSpeed()
public void setMaximumSpeed(java.lang.Long maximumSpeed)
maximumSpeed - The maximum speed.public java.lang.Long getMaximumSpeed()
public void validate()
throws InvalidConfigurationException
InvalidConfigurationException - if the configuration is invalid.CiscoRouterConfigComponent
public Commands generateIos()
throws InvalidConfigurationException
InvalidConfigurationException - if the configuration is invalid.CiscoRouterConfigComponent
public Commands generateDeleteIos(CiscoRouterConfig updatedCiscoRouterConfig)
throws InvalidConfigurationException
updatedCiscoRouterConfig - the updated Cisco router configuration.
InvalidConfigurationException - if the configuration is invalid.MultiLineComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||