Class Swift_Plugin_ConnectionRotator

Description

Swift Rotating Connection Controller

Invokes the nextConnection() method of Swift_Connection_Rotator upon sending a given number of messages

Located in /Swift/Plugin/ConnectionRotator.php (line 21)


	
			
Method Summary
Swift_Plugin_ConnectionRotator __construct ([int $threshold = 1])
void disconnectPerformed ( $e)
int getThreshold ()
void sendPerformed ( $e)
void setThreshold (int $threshold)
Methods
Constructor __construct (line 48)

Constructor

Swift_Plugin_ConnectionRotator __construct ([int $threshold = 1])
  • int $threshold: The number of emails to send before rotating
disconnectPerformed (line 101)

Disconnect all the other connections

void disconnectPerformed ( $e)
getThreshold (line 64)

Get the number of emails which must be sent before a rotation occurs

int getThreshold ()
sendPerformed (line 74)

Swift's SendEvent listener.

Invoked when Swift sends a message

  • throws: Swift_Connection_Exception If the connection cannot be rotated
void sendPerformed ( $e)
setThreshold (line 56)

Set the number of emails to send before a connection rotation is tried

void setThreshold (int $threshold)
  • int $threshold: Number of emails

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