Interface IMessageExecutor
- Namespace
- Skyline.DataMiner.Core.InterAppCalls.Common.MessageExecution
- Assembly
- Skyline.DataMiner.Core.InterAppCalls.Common.dll
Represents an executor for messages. Command pattern: splits the logic into well defined methods but leaves internal logic for the concrete classes.
public interface IMessageExecutor : IBaseMessageExecutor
- Extension Methods
Methods
- CreateReturnMessage()
Creates a reply message. (Optional.)
- DataGets(object)
Reads data from SLProtocol, Engine or other data sources. (Optional.)
- DataSets(object)
Writes data to SLProtocol, Engine, or another data destination. (Optional.)
- Modify()
Modifies retrieved data and message data into a correct format for setting. (Optional.)
- Parse()
Parses the data retrieved from a data source in DataGets. (Optional.)
- Validate()
Validates received data for validity before attempting parsing, modification and setting. Should return true if not used.