DFSLink Developer Documentation

MessageProcessor Members

MessageProcessor overview

Public Static Fields

ERROR (inherited from AExternalData) Error message type. See also processMessage
INFO (inherited from AExternalData) Info message type. See also processMessage
LOG_NAME (inherited from AExternalData) Standard name of the DFSLink log file.
SCRIPT_NAME (inherited from AExternalData) Standard name of the DFSLink script file.
WARNING (inherited from AExternalData) Warning message type. See also processMessage

Public Static Methods

Equals (inherited from Object) 
ReferenceEquals (inherited from Object) 

Public Instance Constructors

MessageProcessor Constructor Constructor

Public Instance Properties

countedErrors (inherited from AExternalData) Get: Get all counted errors. Set: Sets the counter back to zero (only a reset).
countedWarnings (inherited from AExternalData) Get: Get all counted warnings. Set: Sets the counter back to zero (only a reset).

Public Instance Methods

closeFiles Close a open handle for a file.
countError (inherited from AExternalData) Increase the error counter.
countWarning (inherited from AExternalData) Increase the warning counter.
Dispose (inherited from AExternalData) Dispose this object.
Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
openLogFileOverloaded. Opens a log file with the specfied name in append or overwrite mode. The file handle are kept in swLog. swLog If there is also a file open, the file will be closed and reopened in append mode.
openScriptFileOverloaded. Opens a script file with the specfied name in append or overwrite mode. The file handle are kept in swScript. swScript If there is also a file open, the file will be closed and reopened in append mode.
processMessage Process incoming messages.
ToString (inherited from Object) 

Protected Instance Fields

disposed (inherited from AExternalData) Track whether Dispose has been called.
swLog (inherited from AExternalData) Keeps the log streamwriter.
swScript (inherited from AExternalData) Keeps the script streamwriter.

Protected Instance Methods

Finalize (inherited from AExternalData) Use C# destructor syntax for finalization code. This destructor will run only if the Dispose method does not get called. It gives your base class the opportunity to finalize. Do not provide destructors in types derived from this class.
MemberwiseClone (inherited from Object) 
openFile (inherited from AExternalData) Open and writes text to a file. The append argument specify the append or overwrite mode, so it is possible to append data to an existing file or overwrite an existing file. The file will be created if they doesn't exist.

See Also

MessageProcessor Class | dfslink Namespace