Метод | Описание | |
---|---|---|
Pommo_Throttler ( $p, &$history, &$sent, &$sentBytes ) | bThrottler() - simple initialization of class variables. | |
byteTracking ( ) | returns status of byte tracking - '1' if disabled, '2' if enabled, '3' if domain enabled, '4' if both enabled | |
clearQueue ( ) | ----------------------------------------------------------- | |
domainCheck ( &$domain ) | domainCheck() - validates that a domain has not exceeded its limit per period | |
domainRelease ( $attempt ) | attempts to release an email from the queue or quarantine, after checking with domain controller | |
loadQueue ( &$queue ) | adds more emails to the queue. | |
mailsInQueue ( ) | mailsInQueue() - Returns TRUE if there are mails left to process | |
pause ( ) | ||
pullQueue ( ) | pullQueue() - pops & returns an email address from the queue or quarantine. Returns FALSE if throttled back. | |
pushQueue ( &$q ) | ||
release ( ) | attempts to release an email from the queue or quarantine | |
slowBytes ( ) | ||
slowdown ( ) | ||
smartInit ( ) | sets the mode, hP, and cS according to target mails per second | |
speedup ( ) | ||
updateBytes ( $bytes, $domain = FALSE ) | updateBytes() - Updates the bytes sent. Called by parent when byte throttling is enabled. |
public Pommo_Throttler ( $p, &$history, &$sent, &$sentBytes ) |
public byteTracking ( ) |
public clearQueue ( ) |
public domainCheck ( &$domain ) |
public domainRelease ( $attempt ) |
public mailsInQueue ( ) |
public pullQueue ( ) |
public release ( ) |
public smartInit ( ) |
public updateBytes ( $bytes, $domain = FALSE ) |