Class SimpleMessageExecutor<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 SimpleMessageExecutor<T> : ISimpleMessageExecutor, IBaseMessageExecutor
Type Parameters
T
The message type.
- Inheritance
-
SimpleMessageExecutor<T>
- Implements
- Extension Methods
Constructors
- SimpleMessageExecutor(T)
Initializes a new instance of the SimpleMessageExecutor<T> class using the specified message.
Properties
- Message
Gets the message to execute.
Methods
- TryExecute(object, object, out Message)
Performs all the actions regarding the execution logic of the incoming message. And optionally returns a message the be sent back as a response message.