Inherits EventHandler
Responsible for attempting to deliver a queued message and updating the corresponding row in the deliveries table.
Creates a new DeliveryAgent object to deliver the message with the given id.
Returns a pointer to a newly-created DSN for the DA's message, based on earlier queries. All queries are assumed to have completed successfully.
Updates all recipients for the given dsn to reflect that the message delivery request has expired.
Begins to fetch a message with the given messageId, and returns a pointer to the newly-created Message object, which will be filled in by the message fetcher.
Returns a pointer to a newly-created Injector to inject a bounce message derived from the specified dsn, or 0 if the DSN was for a bounce already. The caller must call Injector::execute() when appropriate.
Logs a description of the delivery we are about to attempt, based on the specified dsn.
Returns the database ID of the message serviced, as specified to the constructor.
Updates the row in deliveries, as well as any related rows in delivery_recipients. The queries needed to perform the update are enqueued directly into d->t, for the caller to execute at will.
Returns true if this DeliveryAgent is working on something, and false if not.
This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.