PHP Class Swiftriver\Core\Modules\TwitterStreamingSearchClient

Inheritance: extends Phirehose
Datei anzeigen Open project: ushahidi/Swiftriver-2011

Protected Properties

Property Type Description
$lastRotated
$queueDir Member attributes specific to this subclass
$rotateInterval
$statusStream
$streamFile

Public Methods

Method Description
__construct ( $username, $password )
checkFilterPredicates ( )
enqueueStatus ( $status )
log ( $message )

Protected Methods

Method Description
processQueueFile ( string $queueFile ) Processes a queue file and does something with it (example only)

Private Methods

Method Description
ParseTweetToSanitizedTweetDiffCollection ( Content $item ) : DuplicationIdentificationFieldCollection
getStream ( ) : resource Returns a stream resource for the current file being written/enqueued to
rotateStreamFile ( ) Rotates the stream file if due

Method Details

__construct() public method

public __construct ( $username, $password )

checkFilterPredicates() public method

enqueueStatus() public method

public enqueueStatus ( $status )

log() public method

public log ( $message )

processQueueFile() protected method

Processes a queue file and does something with it (example only)
protected processQueueFile ( string $queueFile )
$queueFile string The queue file

Property Details

$lastRotated protected_oe property

protected $lastRotated

$queueDir protected_oe property

Member attributes specific to this subclass
protected $queueDir

$rotateInterval protected_oe property

protected $rotateInterval

$statusStream protected_oe property

protected $statusStream

$streamFile protected_oe property

protected $streamFile