Class Swift_Events_ResponseEvent
Inheritance | Swift_Events_ResponseEvent » Swift_Events_EventObject |
---|---|
Implements | Swift_Events_Event |
Generated when a response is received on a SMTP connection.
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Create a new ResponseEvent for $source and $response. | Swift_Events_ResponseEvent |
bubbleCancelled() | Returns true if this Event will not bubble any further up the stack. | Swift_Events_EventObject |
cancelBubble() | Prevent this Event from bubbling any further up the stack. | Swift_Events_EventObject |
getResponse() | Get the response which was received from the server. | Swift_Events_ResponseEvent |
getSource() | Get the source object of this event. | Swift_Events_EventObject |
isValid() | Get the success status of this Event. | Swift_Events_ResponseEvent |
Method Details
Create a new ResponseEvent for $source and $response.
public void __construct ( Swift_Transport $source, $response, $valid = false ) | ||
$source | Swift_Transport | |
$response | string | |
$valid | bool |
Get the response which was received from the server.
public string getResponse ( ) |
Get the success status of this Event.
public bool isValid ( ) |