com.foxsmart.csu.config.global.interfacepkg
Class FrameRelayEncapsulationOptions

java.lang.Object
  extended by com.foxsmart.csu.config.CiscoRouterConfigParser
      extended by com.foxsmart.csu.config.global.interfacepkg.EncapsulationOptions
          extended by com.foxsmart.csu.config.global.interfacepkg.FrameRelayEncapsulationOptions
All Implemented Interfaces:
java.io.Serializable

public class FrameRelayEncapsulationOptions
extends EncapsulationOptions

The FrameRelayEncapsulationOptions class contains frame relay encapsulation options.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser
log, NO, tokenIndex
 
Constructor Summary
FrameRelayEncapsulationOptions()
          Constructs a FrameRelayEncapsulationOptions object.
 
Method Summary
 java.lang.String generateIos()
          Generates an IOS string for this encapsulation option.
 boolean getIetfFlag()
          Gets the IETF flag.
 void setIetfFlag(boolean ietfFlag)
          Sets the IETF flag.
 
Methods inherited from class com.foxsmart.csu.config.global.interfacepkg.EncapsulationOptions
validate
 
Methods inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser
checkExists, checkLineComplete, checkNotEmpty, checkRange, checkTokenCount, checkTokenCount, checkTokenMatch, checkTokenMatch, decrementTokenIndex, generateCommands, getBigDecimalNumberFromString, getDoubleNumberFromString, getEnum, getHexadecimalNumberFromString, getIntegerNumberFromString, getIpAddressFromString, getLine, getLongNumberFromString, getMacAddressFromString, getNextOptionalToken, getNextToken, getToken, getTokenIndex, getTokens, getTotalIndentedLines, getTotalLines, incrementTokenIndex, invalidConfiguration, invalidTokenFound, isEmpty, moreIndentedLines, moreLines, moreTokens, removeLines, resetTokenIndex, setTokenIndex, tokensLeft
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrameRelayEncapsulationOptions

public FrameRelayEncapsulationOptions()
Constructs a FrameRelayEncapsulationOptions object. By default, the ietf flag is false.

Method Detail

getIetfFlag

public boolean getIetfFlag()
Gets the IETF flag.

Returns:
the IETF flag.

setIetfFlag

public void setIetfFlag(boolean ietfFlag)
Sets the IETF flag. When true, RFC1490/RFC2427 encapsulation will be used.

Parameters:
ietfFlag - the IETF flag.

generateIos

public java.lang.String generateIos()
                             throws InvalidConfigurationException
Generates an IOS string for this encapsulation option.

Overrides:
generateIos in class EncapsulationOptions
Returns:
The IOS string for this component.
Throws:
InvalidConfigurationException - if any of the configuration elements are not valid.


Copyright © 2005-2008 Fox Smart, Inc. All Rights Reserved.