Constructor and Description |
---|
GetDateValueThroughput(String serverUri,
String username,
String orgId,
String password,
boolean debug)
Initializes the GetDateValueThroughput instance.
|
public GetDateValueThroughput(String serverUri, String username, String orgId, String password, 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 id of the organization the user is in.password
- The password for the user.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 static void main(String[] args) throws BadCredentialException, IdNotFoundException, BadSensorUriException
args
- command line arguments -s BadSensorUriException
- if there is a problem with the WattDepot
sensor definition.IdNotFoundException
- if there is a problem with the organization id.BadCredentialException
- if the credentials are not valid.Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.