Constructor. Do not use this directly, use the factory method instead.
protected __construct ( DataSift_User $user, mixed $definition, DataSift_IStreamConsumerEventHandler $eventHandler ) | ||
$user | DataSift_User | The user this consumer will run as. |
$definition | mixed | CSDL string, a Definition object, or an array of hashes. |
$eventHandler | DataSift_IStreamConsumerEventHandler | The object that will receive events. |