Class ServerConfigRetrofitWebService
java.lang.Object
com.exxothermic.audioeverywheresdk.webservices.api.exxtractorapi.retrofit.ServerConfigRetrofitWebService
- All Implemented Interfaces:
ServerConfigWebService
,WebService
Class that implements a Retrofit Web Service for the server configuration
- Since:
- 1/8/15
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getServerConfiguration
(String token, WebServiceResponseHandler<ServerConfigInfo> handler) Method that will get the current server configuration for the current exxtractorvoid
setServerConfiguration
(String token, ServerConfigInfo configuration, WebServiceResponseHandler handler) Method that updates the configuration for a particular exxtractor on the network
-
Constructor Details
-
ServerConfigRetrofitWebService
-
-
Method Details
-
setServerConfiguration
public void setServerConfiguration(String token, ServerConfigInfo configuration, WebServiceResponseHandler handler) Description copied from interface:ServerConfigWebService
Method that updates the configuration for a particular exxtractor on the network- Specified by:
setServerConfiguration
in interfaceServerConfigWebService
- Parameters:
token
- the token used to authenticate the requestconfiguration
- the configuration that will be sethandler
- the handler for the request status
-
getServerConfiguration
public void getServerConfiguration(String token, WebServiceResponseHandler<ServerConfigInfo> handler) Method that will get the current server configuration for the current exxtractor- Specified by:
getServerConfiguration
in interfaceServerConfigWebService
- Parameters:
token
- the token used to authenticate the requesthandler
- the handler used to check the request status
-