Method |
Description |
|
onConnect ( DataSift_StreamConsumer $consumer ) : void |
Called when the stream is connected. |
|
onDeleted ( DataSift_StreamConsumer $consumer, array $interaction, string $hash ) : void |
Called for each deletion notification consumed. |
|
onDisconnect ( DataSift_StreamConsumer $consumer ) : void |
Called when the stream is disconnected. |
|
onError ( $consumer, string $message ) : void |
Called when an error occurs or is received down the stream. |
|
onInteraction ( DataSift_StreamConsumer $consumer, array $interaction, string $hash ) : void |
Called for each interaction consumed. |
|
onStatus ( DataSift_StreamConsumer $consumer, string $type, array $info ) : void |
Called for each status message received. |
|
onStopped ( $consumer, string $reason ) : void |
Called when the consumer stops for some reason. |
|
onWarning ( DataSift_StreamConsumer $consumer, string $message ) : void |
Called when a warning occurs or is received down the stream. |
|