Class CommandHandler
Inheritance
System.Object
CommandHandler
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FixAntenna.AdminTool.Commands
Assembly: FixAntenna.AdminTool.dll
Syntax
public class CommandHandler : ICommandHandler
Constructors
CommandHandler()
Creates the CommandHandler
.
Declaration
public CommandHandler()
Fields
Log
Declaration
protected static ILog Log
Field Value
Type | Description |
---|---|
ILog |
Methods
GetCanonicalCommandClassName(IMessage)
Gets command class name
if com.epam.Command will return Command
Declaration
public virtual string GetCanonicalCommandClassName(IMessage message)
Parameters
Type | Name | Description |
---|---|---|
IMessage | message |
Returns
Type | Description |
---|---|
System.String | Class Name |
GetCommand(String, String)
Gets command.
Declaration
public virtual Command GetCommand(string xmlContent, string externalPackage)
Parameters
Type | Name | Description |
---|---|---|
System.String | xmlContent | |
System.String | externalPackage | the session parameters |
Returns
Type | Description |
---|---|
Command | Command if command found or null otherwise |
ReplaceInvalidCharacters(String)
Replaces invalid characters,
SOH
replaced with 
and &
with &
Declaration
public virtual string ReplaceInvalidCharacters(string xmlContent)
Parameters
Type | Name | Description |
---|---|---|
System.String | xmlContent |
Returns
Type | Description |
---|---|
System.String | string |