Class MessageExecutor<T>
- Namespace
- Skyline.DataMiner.Core.InterAppCalls.Common.MessageExecution
- Assembly
- Skyline.DataMiner.Core.InterAppCalls.Common.dll
Represents a message executor for a specific provided message. There may only be one executor per message type.
public abstract class MessageExecutor<T> : IMessageExecutor, IBaseMessageExecutor
Type Parameters
T
The message type.
- Inheritance
-
MessageExecutor<T>
- Implements
- Extension Methods
Constructors
- MessageExecutor(T)
Initializes a new instance of the MessageExecutor<T> class using the specified message.
Properties
- Message
Gets the message to execute.
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.