class _AttemptManager: (source)
| Method | __init__ |
|
| Method | getCompletionDeferred |
Return a deferred which will fire when the attempt to relay is finished. |
| Method | notifyDone |
When the connection is lost or cannot be established, prepare to resend unsent messages and fire all deferred which are waiting for the completion of the attempt to relay. |
| Method | notifyFailure |
Generate a bounce message for a message which cannot be relayed. |
| Method | notifyNoConnection |
When a connection to the mail exchange server cannot be established, prepare to resend messages later. |
| Method | notifySuccess |
Remove a message from the relay queue after it has been successfully sent. |
| Instance Variable | manager |
See __init__ |
| Instance Variable | noisy |
Undocumented |
| Instance Variable | reactor |
Undocumented |
| Method | _finish |
Remove a message from the relay queue and from the smart host's list of messages being relayed. |
| Instance Variable | _completionDeferreds |
Deferreds which are to be notified when the attempt to relay is finished. |
| Parameters | |
manager:SmartHostSMTPRelayingManager | A smart host. |
noisy:bool | A flag which determines whether informational log messages will be generated (True) or not (False). |
reactor:IReactorTime provider | A reactor which will be used to schedule delayed calls. |
| Returns | |
Deferred | A deferred which will fire when the attempt to relay is finished. |
| Parameters | |
relay:SMTPManagedRelayerFactory | The factory for the relayer for the connection. |
| Parameters | |
relay:SMTPManagedRelayerFactory | The factory for the relayer responsible for the message. |
message:bytes | The path of the file holding the message. |
| Parameters | |
relay:SMTPManagedRelayerFactory | The factory for the relayer meant to use the connection. |
| Parameters | |
relay:SMTPManagedRelayerFactory | The factory for the relayer which sent the message. |
message:bytes | The path of the file holding the message. |
| Parameters | |
relay:SMTPManagedRelayerFactory | The factory for the relayer which sent the message. |
message:bytes | The path of the file holding the message. |