Class Swift_Events_ResponseEvent

InheritanceSwift_Events_ResponseEvent » Swift_Events_EventObject
ImplementsSwift_Events_Event

Generated when a response is received on a SMTP connection.

Public Methods

Hide inherited methods

MethodDescriptionDefined 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

__construct() public method

Create a new ResponseEvent for $source and $response.

public void __construct ( Swift_Transport $source, $response, $valid false )
$source Swift_Transport
$response string
$valid bool
getResponse() public method

Get the response which was received from the server.

public string getResponse ( )
isValid() public method

Get the success status of this Event.

public bool isValid ( )