com.foxsmart.csu.config.global
Class AccessListMatchInfoHost

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.AccessListMatchInfoHost
All Implemented Interfaces:
java.io.Serializable

public class AccessListMatchInfoHost
extends AccessListMatchInfo

The AccessListMatchInfoHost class matches network traffic based on a single host.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser
log, NO, tokenIndex
 
Constructor Summary
AccessListMatchInfoHost()
          Constructs an access list match info host 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.
 void setHost(Host host)
          Sets the host information.
 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

AccessListMatchInfoHost

public AccessListMatchInfoHost()
Constructs an access list match info host 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.

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.