Interface NeighborsRetrofitApi
public interface NeighborsRetrofitApi
Class that will represent the API used to manage the neighbor request on the exxtractor
- Since:
- 1/8/15
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getNeighborExxtractors
(String token, retrofit.Callback<String[]> handler) Method that will retreive the list of al the exxtractors on the network, represented by an array of IP addresses
-
Method Details
-
getNeighborExxtractors
@GET("/exxtractor/api/v2/neighbors") void getNeighborExxtractors(@Query("token") String token, retrofit.Callback<String[]> handler) Method that will retreive the list of al the exxtractors on the network, represented by an array of IP addresses- Parameters:
token
- the token used to authenticate the requesthandler
- the handler to manage the request status
-