Swift
[ class tree: Swift ] [ index: Swift ] [ all elements ]

Class: Swift_Events_ResponseEvent

Source Location: /vendors/swift/classes/Swift/Events/ResponseEvent.php

Class Overview

Swift_Events_EventObject
   |
   --Swift_Events_ResponseEvent

Generated when a response is received on a SMTP connection.


Author(s):

  • Chris Corbyn

Methods


Inherited Methods

Class: Swift_Events_EventObject

Swift_Events_EventObject::__construct()
Create a new EventObject originating at $source.
Swift_Events_EventObject::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::getSource()
Get the source object of this event.

Class Details

[line 19]
Generated when a response is received on a SMTP connection.



Tags:

author:  Chris Corbyn
filesource:  Source Code for this file


[ Top ]


Class Methods


constructor __construct [line 40]

Swift_Events_ResponseEvent __construct( Swift_Transport $source, string $response, [boolean $valid = false])

Create a new ResponseEvent for $source and $response.



Tags:

access:  public


Overrides Swift_Events_EventObject::__construct() (Create a new EventObject originating at $source.)

Parameters:

Swift_Transport   $source  
string   $response  
boolean   $valid  

[ Top ]

method getResponse [line 51]

string getResponse( )

Get the response which was received from the server.



Tags:

access:  public


[ Top ]

method isValid [line 60]

boolean isValid( )

Get the success status of this Event.



Tags:

access:  public


[ Top ]


Documentation generated on Mon, 05 Sep 2011 20:34:10 -0500 by phpDocumentor 1.4.3