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

Class: Swift_Events_CommandEvent

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

Class Overview

Swift_Events_EventObject
   |
   --Swift_Events_CommandEvent

Generated when a command is sent over an 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 20]
Generated when a command is sent over an SMTP connection.



Tags:

author:  Chris Corbyn
filesource:  Source Code for this file


[ Top ]


Class Methods


constructor __construct [line 41]

Swift_Events_CommandEvent __construct( Swift_Transport $source, string $command, [array $successCodes = array()])

Create a new CommandEvent for $source with $command.



Tags:

access:  public


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

Parameters:

Swift_Transport   $source  
string   $command  
array   $successCodes  

[ Top ]

method getCommand [line 53]

string getCommand( )

Get the command which was sent to the server.



Tags:

access:  public


[ Top ]

method getSuccessCodes [line 62]

int[] getSuccessCodes( )

Get the numeric response codes which indicate success for this command.



Tags:

access:  public


[ Top ]


Documentation generated on Mon, 05 Sep 2011 20:32:57 -0500 by phpDocumentor 1.4.3