|
||||||||||
| 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.interfacepkg.EncapsulationOptions
com.foxsmart.csu.config.global.interfacepkg.LapbEncapsulationOptions
public class LapbEncapsulationOptions
The LapbEncapsulationOptions class contains LAPB (X.25 Level 2) encapsulation options.
| Field Summary |
|---|
| Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser |
|---|
log, NO, tokenIndex |
| Constructor Summary | |
|---|---|
LapbEncapsulationOptions()
Constructs a LapbEncapsulationOptions object. |
|
| Method Summary | |
|---|---|
java.lang.String |
generateIos()
Generates an IOS string for this encapsulation option. |
boolean |
getDteFlag()
Gets the DTE flag. |
LapbEncapsulationEnum |
getEncapsulationOption()
Gets the encapsulation option. |
void |
setDteFlag(boolean dteFlag)
Sets the DTE flag. |
void |
setEncapsulationOption(LapbEncapsulationEnum encapsulationOption)
Sets the encapsulation options. |
| Methods inherited from class com.foxsmart.csu.config.global.interfacepkg.EncapsulationOptions |
|---|
validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LapbEncapsulationOptions()
| Method Detail |
|---|
public LapbEncapsulationEnum getEncapsulationOption()
public void setEncapsulationOption(LapbEncapsulationEnum encapsulationOption)
encapsulationOption - the encapsulation option. By default, LapbEncapsulationEnum.IP is used.public boolean getDteFlag()
public void setDteFlag(boolean dteFlag)
dteFlag - the DTE flag.
public java.lang.String generateIos()
throws InvalidConfigurationException
generateIos in class EncapsulationOptionsInvalidConfigurationException - if any of the configuration elements are not valid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||