C# Class xmlGenerator.ConfGenerator

Mostrar archivo Open project: kyungyonglee/brunet-ipop_makeconffile Class Usage Examples

Public Methods

Method Description
ConfGenerator ( ) : System
ReadXMLFile ( ) : bool
WriteElementValue ( string element, string value, string defaultString, XmlTextWriter TargetXML, ValidCheck type ) : void
confFileValidCheck ( ConfFileValidChk target ) : bool
genBrunetConf ( ) : bool
genDHCPConf ( ) : bool
genIPOPConf ( ) : bool

Private Methods

Method Description
ValidCheckEventHandler ( object sender, ValidationEventArgs args ) : void
isValidIP ( string ipAddr ) : bool
isValidPort ( string portNumber ) : bool
isValidRemoteTA ( string address ) : bool

Method Details

ConfGenerator() public method

public ConfGenerator ( ) : System
return System

ReadXMLFile() public method

public ReadXMLFile ( ) : bool
return bool

WriteElementValue() public method

public WriteElementValue ( string element, string value, string defaultString, XmlTextWriter TargetXML, ValidCheck type ) : void
element string
value string
defaultString string
TargetXML System.Xml.XmlTextWriter
type ValidCheck
return void

confFileValidCheck() public method

public confFileValidCheck ( ConfFileValidChk target ) : bool
target ConfFileValidChk
return bool

genBrunetConf() public method

public genBrunetConf ( ) : bool
return bool

genDHCPConf() public method

public genDHCPConf ( ) : bool
return bool

genIPOPConf() public method

public genIPOPConf ( ) : bool
return bool