\Swift_Events_CommandEvent
Generated when a command is sent over an SMTP connection.
- Author: Chris Corbyn
Synopsis
class Swift_Events_CommandEvent
extends Swift_Events_EventObject
{
- // members
- private string $_command;
- private array $_successCodes;
- // methods
- public void __construct()
- public string getCommand()
- public array getSuccessCodes()
- // Inherited methods from Swift_Events_EventObject
- public void __construct()
- public getSource()
- public void cancelBubble()
- public boolean bubbleCancelled()
Hierarchy
Extends
Members
private
- $_command
—
string
The command sent to the server. - $_successCodes
—
array
An array of codes which a successful response will contain.
Methods
public
- __construct() — Create a new CommandEvent for $source with $command.
- getCommand() — Get the command which was sent to the server.
- getSuccessCodes() — Get the numeric response codes which indicate success for this command.
Inherited from Swift_Events_EventObject
public
- bubbleCancelled() — Returns true if this Event will not bubble any further up the stack.
- cancelBubble() — Prevent this Event from bubbling any further up the stack.
- getSource() — Get the source object of this event.