public class StressCollector extends MultiThreadedCollector
client, debug, definition, depository
Constructor and Description |
---|
StressCollector(String serverUri,
String username,
String orgId,
String password,
String collectorId,
boolean debug)
Initializes the StressCollector.
|
StressCollector(String serverUri,
String username,
String orgId,
String password,
String sensorId,
Long pollingInterval,
Depository depository,
boolean debug) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Processes the command line arguments and starts the eGauge Collector.
|
void |
run() |
isValid, start
cancel, scheduledExecutionTime
public StressCollector(String serverUri, String username, String orgId, String password, String collectorId, boolean debug) throws BadCredentialException, IdNotFoundException, BadSensorUriException
serverUri
- The URI for the WattDepot server.username
- The name of a user defined in the WattDepot server.orgId
- the user's organization id.password
- The password for the user.collectorId
- The CollectorProcessDefinitionId used to initialize this
collector.debug
- flag for debugging messages.BadCredentialException
- if the user or password don't match the
credentials in WattDepot.IdNotFoundException
- if the processId is not defined.BadSensorUriException
- if the Sensor's URI isn't valid.public StressCollector(String serverUri, String username, String orgId, String password, String sensorId, Long pollingInterval, Depository depository, boolean debug) throws BadCredentialException, BadSensorUriException, IdNotFoundException
serverUri
- The URI for the WattDepot server.username
- The name of a user defined in the WattDepot server.orgId
- the user's organization id.password
- The password for the user.sensorId
- The SensorId.pollingInterval
- The polling interval.depository
- The depository to store the measurements in.debug
- flag for debugging messages.BadCredentialException
- if the user or password don't match the
credentials in WattDepot.IdNotFoundException
- if the processId is not defined.BadSensorUriException
- if the Sensor's URI isn't valid.Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.