Class Swift_Events_CommandEvent

Description

Generated when Swift is sending a command

Located in /Swift/Events/CommandEvent.php (line 18)

Swift_Events
   |
   --Swift_Events_CommandEvent
Method Summary
Swift_Events_CommandEvent __construct (string $string, [int $code = null])
int getCode ()
string getString ()
void setCode (int $code)
void setString (string $string)
Methods
Constructor __construct (line 36)

Constructor

Swift_Events_CommandEvent __construct (string $string, [int $code = null])
  • string $string: The command being sent
  • int $code: The expected code
getCode (line 70)

Get the expected response code

int getCode ()
getString (line 53)

Get the command being sent

string getString ()
setCode (line 61)

Set response code which is expected

void setCode (int $code)
  • int $code: The response code
setString (line 45)

Set the command being sent (without CRLF)

void setString (string $string)
  • string $string: The command being sent

Inherited Methods

Inherited From Swift_Events

Swift_Events::getSwift()
Swift_Events::setSwift()

Documentation generated on Tue, 06 Mar 2007 23:32:22 +0000 by phpDocumentor 1.3.1