AP&C API Reference
|
This class provides base features for all message senders and includes a logger. Subclasses do not have to log when delivery starts and stops. More...
Public Member Functions | |
DeliveryStatus | Deliver (Message message, MessagingAddress sender, IEnumerable< MessagingAddress > recipients) |
Delivers the message according to the message contents and the system's configured messaging participants. More... | |
Protected Member Functions | |
MessageHandler () | |
Creates a new MessageHandler. More... | |
abstract DeliveryStatus | OnDeliver (Message message, MessagingAddress sender, IEnumerable< MessagingAddress > recipients) |
When overridden by subclasses this method should deliver the message according to SupportedProtocol and return an appropriate DeliveryStatus. More... | |
Properties | |
abstract MessagingProtocols | SupportedProtocol [get] |
When overridden by subclasses, this property indicates the single protocol supported by the message handler. More... | |
log4net.ILog | Log [get] |
Internaly accessible logger. More... | |
![]() | |
MessagingProtocols | SupportedProtocol [get] |
Gets the MessagingProtocols implemented by the handler. More... | |
This class provides base features for all message senders and includes a logger. Subclasses do not have to log when delivery starts and stops.
|
inlineprotected |
Creates a new MessageHandler.
|
inline |
Delivers the message according to the message contents and the system's configured messaging participants.
message | The message to be sent. |
sender | The participant sending the message. |
recipients | The participants receiving the message. |
Implements Apac.Messaging.IMessageHandler.
|
protectedpure virtual |
When overridden by subclasses this method should deliver the message according to SupportedProtocol and return an appropriate DeliveryStatus.
message | The message to be sent. |
sender | The participant sending the message. |
recipients | The participants receiving the message. |
Implemented in Apac.Messaging.Handlers.SmtpMessageHandler, and Apac.Messaging.Handlers.ConfigurationMessageHandler.
|
getprotected |
Internaly accessible logger.
|
get |
When overridden by subclasses, this property indicates the single protocol supported by the message handler.