|
||||||||||
| 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.X25EncapsulationOptions
public class X25EncapsulationOptions
The X25EncapsulationOptions class contains X.25 encapsulation options.
| Field Summary |
|---|
| Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser |
|---|
log, NO, tokenIndex |
| Constructor Summary | |
|---|---|
X25EncapsulationOptions()
Constructs a LapbEncapsulationOptions object. |
|
| Method Summary | |
|---|---|
java.lang.String |
generateIos()
Generates an IOS string for the frame relay portion of the encapsulation. |
boolean |
getDteFlag()
Gets the DTE flag. |
X25EncapsulationEnum |
getEncapsulationOption()
Gets the encapsulation option. |
java.lang.String |
getProfileName()
Gets the X.25 profile name. |
void |
setDteFlag(boolean dteFlag)
Sets the DTE flag. |
void |
setEncapsulationOption(X25EncapsulationEnum encapsulationOption)
Sets the encapsulation options. |
void |
setProfileName(java.lang.String profileName)
Sets the X.25 profile name. |
void |
validate()
Validates that this object is valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public X25EncapsulationOptions()
| Method Detail |
|---|
public java.lang.String getProfileName()
public void setProfileName(java.lang.String profileName)
profileName - the X.25 profile name.public X25EncapsulationEnum getEncapsulationOption()
public void setEncapsulationOption(X25EncapsulationEnum encapsulationOption)
encapsulationOption - the encapsulation option. By default, X25EncapsulationEnum.AX25 is used.public boolean getDteFlag()
public void setDteFlag(boolean dteFlag)
dteFlag - the DTE flag.
public void validate()
throws InvalidConfigurationException
validate in class EncapsulationOptionsInvalidConfigurationException - if the configuration is invalid.
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 | |||||||||