com.foxsmart.csu.config.global
Class AccessListMatchInfoNetwork

java.lang.Object
  extended by com.foxsmart.csu.config.CiscoRouterConfigParser
      extended by com.foxsmart.csu.config.global.AccessListMatchInfo
          extended by com.foxsmart.csu.config.global.AccessListMatchInfoNetwork
All Implemented Interfaces:
java.io.Serializable

public class AccessListMatchInfoNetwork
extends AccessListMatchInfo

The AccessListMatchInfoNetwork class matches network traffic based on network address information.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser
log, NO, tokenIndex
 
Constructor Summary
AccessListMatchInfoNetwork()
          Constructs an access list match info network object.
 
Method Summary
 java.lang.String generateIos()
          Generates the IOS string associated with this part of the router configuration.
 Host getHost()
          Gets the host information.
 IpAddress getWildcard()
          Gets the wildcard address.
 void setHost(Host host)
          Sets the host information.
 void setWildcard(IpAddress wildcard)
          Sets the wildcard address.
 void validate()
          See comments in CiscoRouterConfigComponent.
 
Methods inherited from class com.foxsmart.csu.config.global.AccessListMatchInfo
getPortInfo, setPortInfo
 
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

AccessListMatchInfoNetwork

public AccessListMatchInfoNetwork()
Constructs an access list match info network object.

Method Detail

setHost

public void setHost(Host host)
Sets the host information.

Parameters:
host - The host information.

getHost

public Host getHost()
Gets the host information.

Returns:
the host information.

setWildcard

public void setWildcard(IpAddress wildcard)
Sets the wildcard address.

Parameters:
wildcard - The wildcard address.

getWildcard

public IpAddress getWildcard()
Gets the wildcard address.

Returns:
the wildcard address.

validate

public void validate()
              throws InvalidConfigurationException
See comments in CiscoRouterConfigComponent.

Overrides:
validate in class AccessListMatchInfo
Throws:
InvalidConfigurationException - if the configuration is invalid.

generateIos

public java.lang.String generateIos()
                             throws InvalidConfigurationException
Generates the IOS string associated with this part of the router configuration.

Overrides:
generateIos in class AccessListMatchInfo
Returns:
the generated IOS.
Throws:
InvalidConfigurationException - if the configuration is invalid.


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