Class ServerActionsRetrofitWebService
java.lang.Object
com.exxothermic.audioeverywheresdk.webservices.api.exxtractorapi.retrofit.ServerActionsRetrofitWebService
- All Implemented Interfaces:
ServerActionsWebService
,WebService
Class that implements the web service to interact with the exxtractor
- Since:
- 1/13/15
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getLogsFromExxtractor
(String token, WebServiceResponseHandler<LogFile> handler) Method that will get the link for the current exxtractorvoid
getServerInfo
(WebServiceResponseHandler<ServerInfo> handler) Method that will get the server general informationvoid
rebootExxtractor
(String token, ServerState serverState, WebServiceResponseHandler handler) Method that will reboot the exxtractor remotely
-
Constructor Details
-
ServerActionsRetrofitWebService
-
-
Method Details
-
rebootExxtractor
public void rebootExxtractor(String token, ServerState serverState, WebServiceResponseHandler handler) Method that will reboot the exxtractor remotely- Specified by:
rebootExxtractor
in interfaceServerActionsWebService
- Parameters:
token
- the token used to authenticate the requesthandler
- the handler for the request status
-
getLogsFromExxtractor
Method that will get the link for the current exxtractor- Specified by:
getLogsFromExxtractor
in interfaceServerActionsWebService
- Parameters:
token
- the token used to validate the requesthandler
- the handler to manage the request status
-
getServerInfo
Method that will get the server general information- Specified by:
getServerInfo
in interfaceServerActionsWebService
- Parameters:
handler
- the handler to manage the status of the request
-