\Swift_Events_ResponseEvent
Generated when a response is received on a SMTP connection.
- Author: Chris Corbyn
Synopsis
class Swift_Events_ResponseEvent
extends Swift_Events_EventObject
{
- // members
- private boolean $_valid;
- private string $_response;
- // methods
- public void __construct()
- public string getResponse()
- public boolean isValid()
- // Inherited methods from Swift_Events_EventObject
- public void __construct()
- public getSource()
- public void cancelBubble()
- public boolean bubbleCancelled()
Hierarchy
Extends
Members
private
- $_response
—
string
The response received from the server. - $_valid
—
boolean
The overall result.
Methods
public
- __construct() — Create a new ResponseEvent for $source and $response.
- getResponse() — Get the response which was received from the server.
- isValid() — Get the success status of this Event.
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.