public class JetstreamServiceClient extends JetstreamClient
Constructor and Description |
---|
JetstreamServiceClient()
Constructor for the JetstreamServiceClient.
|
JetstreamServiceClient(java.io.File properties)
Constructor for the JetstreamServiceClient.
|
JetstreamServiceClient(java.lang.String jetstreamAPIUrl,
java.lang.String accessKey)
Constructor for the JetstreamServiceClient.
|
Modifier and Type | Method and Description |
---|---|
AddDeviceToPolicyResponse |
AddDeviceToPolicy(AddDeviceToPolicyRequest request)
Calls the Jetstream v1.1 AddDeviceToPolicy REST endpoint and adds a
device to one of your application's policies.
|
AddLogicalDeviceResponse |
AddLogicalDevice(AddLogicalDeviceRequest request)
Calls the Jetstream v1.0 AddLogicalDevice REST endpoint and adds a device
to your application.
|
AddPolicyResponse |
AddPolicy(AddPolicyRequest request)
Calls the Jetstream v1.1 AddPolicy REST endpoint and adds a new policy to
your application.
|
DeviceSpecificCommandResponse |
DeviceSpecificCommand(DeviceSpecificCommandRequest request)
Calls the Jetstream v1.0 DeviceSpecificCommand REST endpoint to queue a
command specific to an individual device type
https://jetstreamrfid.com/Docs/Application/1.0/DeviceSpecificCommand.aspx
|
java.lang.String |
getAccessKey()
Returns the root https url for the Jetstream web service.
|
java.lang.String |
getBaseUri()
Returns the root https url for the Jetstream web service.
|
GetConfigurationResponse |
GetConfiguration(GetConfigurationRequest request)
Calls the Jetstream v1.1 GetConfiguration REST endpoint
https://jetstreamrfid.com/Docs/Application/1.1/GetConfiguration.aspx
|
GetConfigValuesCommandResponse |
GetConfigValuesCommand(GetConfigValuesCommandRequest request)
Calls the Jetstream v1.0 GetConfigValuesCommand REST endpoint to queue a
command
https://jetstreamrfid.com/Docs/Application/1.0/GetConfigValuesCommand
.aspx
|
GetDeviceDefinitionsResponse |
GetDeviceDefinitions(GetDeviceDefinitionsRequest request)
Calls the Jetstream v1.0 GetDeviceDefinitions REST endpoint
https://jetstreamrfid.com/Docs/Application/1.0/GetDeviceDefinitions.aspx
|
GetEPCListCommandResponse |
GetEPCListCommand(GetEPCListCommandRequest request)
Calls the Jetstream v1.0 GetEPCListCommand REST endpoint to queue a
command
https://jetstreamrfid.com/Docs/Application/1.0/GetEPCListCommand.aspx
|
GetEventsResponse |
GetEvents(GetEventsRequest request)
Calls the Jetstream v1.2 GetEvents REST endpoint
https://jetstreamrfid.com/Docs/Application/1.2/GetEvents.aspx
|
GetPoliciesResponse |
GetPolicies(GetPoliciesRequest request)
Calls the Jetstream v1.1 GetPolicies REST endpoint and adds a new policy
to your application.
|
RemoveDeviceFromPolicyResponse |
RemoveDeviceFromPolicy(RemoveDeviceFromPolicyRequest request)
Calls the Jetstream v1.1 RemoveDeviceFromPolicy REST endpoint and removes
an existing device from a policy
https://jetstreamrfid.com/Docs/Application
/1.1/RemoveDeviceFromPolicy.aspx
|
RemoveEventsResponse |
RemoveEvents(RemoveEventsRequest request)
Calls the Jetstream v1.2 RemoveEvents REST endpoint
https://jetstreamrfid.com/Docs/Application/1.2/RemoveEvents.aspx
|
RemoveLogicalDeviceResponse |
RemoveLogicalDevice(RemoveLogicalDeviceRequest request)
Calls the Jetstream v1.0 RemoveLogicalDevice REST endpoint and removes a
device from your application.
|
RemovePolicyResponse |
RemovePolicy(RemovePolicyRequest request)
Calls the Jetstream v1.1 RemovePolicy REST endpoint and removes an
existing policy from your application.
|
ResetCommandResponse |
ResetCommand(ResetCommandRequest request)
Calls the Jetstream v1.0 ResetCommand REST endpoint to queue a command
https://jetstreamrfid.com/Docs/Application/1.0/ResetCommand.aspx
|
SetConfigValuesCommandResponse |
SetConfigValuesCommand(SetConfigValuesCommandRequest request)
Calls the Jetstream v1.0 SetConfigValuesCommand REST endpoint to queue a
command
https://jetstreamrfid.com/Docs/Application/1.0/SetConfigValuesCommand
.aspx
|
UpdateFirmwareCommandResponse |
UpdateFirmwareCommand(UpdateFirmwareCommandRequest request)
Calls the Jetstream v1.0 UpdateFirmwareCommand REST endpoint to queue a
command
https://jetstreamrfid.com/Docs/Application/1.0/UpdateFirmwareCommand.aspx
|
execute, SendToJetstream
public JetstreamServiceClient()
java.lang.IllegalArgumentException
public JetstreamServiceClient(java.io.File properties)
properties
- The properties filejava.lang.IllegalArgumentException
public JetstreamServiceClient(java.lang.String jetstreamAPIUrl, java.lang.String accessKey)
jetstreamAPIUrl
- The root https url for the Jetstream web service.
https://jetstream.tersosolutions.com
https://jetstreambeta.tersosolutions.com
accessKey
- Your accesskey for Jetstreamjava.lang.IllegalArgumentException
public java.lang.String getBaseUri()
public java.lang.String getAccessKey()
public AddLogicalDeviceResponse AddLogicalDevice(AddLogicalDeviceRequest request) throws JetstreamResponseException, java.lang.IllegalArgumentException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public GetDeviceDefinitionsResponse GetDeviceDefinitions(GetDeviceDefinitionsRequest request) throws JetstreamResponseException, java.lang.IllegalArgumentException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public RemoveLogicalDeviceResponse RemoveLogicalDevice(RemoveLogicalDeviceRequest request) throws JetstreamResponseException, java.lang.IllegalArgumentException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public GetEPCListCommandResponse GetEPCListCommand(GetEPCListCommandRequest request) throws JetstreamResponseException, java.lang.IllegalArgumentException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public DeviceSpecificCommandResponse DeviceSpecificCommand(DeviceSpecificCommandRequest request) throws JetstreamResponseException, java.lang.IllegalArgumentException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public ResetCommandResponse ResetCommand(ResetCommandRequest request) throws JetstreamResponseException, java.lang.IllegalArgumentException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public GetConfigValuesCommandResponse GetConfigValuesCommand(GetConfigValuesCommandRequest request) throws JetstreamResponseException, java.lang.IllegalArgumentException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public SetConfigValuesCommandResponse SetConfigValuesCommand(SetConfigValuesCommandRequest request) throws JetstreamResponseException, java.lang.IllegalArgumentException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public UpdateFirmwareCommandResponse UpdateFirmwareCommand(UpdateFirmwareCommandRequest request) throws JetstreamResponseException, java.lang.IllegalArgumentException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public GetConfigurationResponse GetConfiguration(GetConfigurationRequest request) throws JetstreamResponseException, java.lang.IllegalArgumentException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public AddDeviceToPolicyResponse AddDeviceToPolicy(AddDeviceToPolicyRequest request) throws JetstreamResponseException, java.lang.IllegalArgumentException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public AddPolicyResponse AddPolicy(AddPolicyRequest request) throws JetstreamResponseException, java.lang.IllegalArgumentException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public GetPoliciesResponse GetPolicies(GetPoliciesRequest request) throws JetstreamResponseException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public RemovePolicyResponse RemovePolicy(RemovePolicyRequest request) throws JetstreamResponseException, java.lang.IllegalArgumentException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public RemoveDeviceFromPolicyResponse RemoveDeviceFromPolicy(RemoveDeviceFromPolicyRequest request) throws JetstreamResponseException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public GetEventsResponse GetEvents(GetEventsRequest request) throws JetstreamResponseException, java.lang.IllegalArgumentException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException
public RemoveEventsResponse RemoveEvents(RemoveEventsRequest request) throws JetstreamResponseException, java.lang.IllegalArgumentException
request
- Object that represents the HTTP Jetstream requestJetstreamResponseException
java.lang.IllegalArgumentException