EAEExxtractorServerRequesting

Objective-C

@protocol EAEExxtractorServerRequesting <NSObject>

/*!
 Method that performs the request which retrieves the server configuration
 
 @param success The block which will be executed upon a successful request
 @param failure The block which will be executed upon a failed request
 */
- (void)requestServerWithSuccess:(BAWebServiceSuccessResponse)success
                         failure:(BAWebServiceFailureResponse)failure;

/*!
 Method that performs the request which updates the server configuration
 
 @param success The block which will be executed upon a successful request
 @param failure The block which will be executed upon a failed request
 */
- (void)updateServer: (EAEServer *) server
             success: (BAWebServiceSuccessResponse)success
             failure: (BAWebServiceFailureResponse)failure;

/*!
 Method that performs the request which get the server general information
 
 @param success The block which will be executed upon a successful request
 @param failure The block which will be executed upon a failed request
 */
- (void)requestServerInfoWithSuccess:(BAWebServiceSuccessResponse)success
                              failure:(BAWebServiceFailureResponse)failure
                    isHTTPSAvailable: (BOOL) isHTTPSAvailable;

/*!
 Method that performs the request which get the unit.json file from server
 
 @param success The block which will be executed upon a successful request
 @param failure The block which will be executed upon a failed request
 */
- (void)requestServerUnitFileWithSuccess:(BAWebServiceSuccessResponse)success
                                 failure:(BAWebServiceFailureResponse)failure
                                   token: (NSString *) authToken
                        isHTTPSAvailable: (BOOL) isHTTPSAvailable;

/*!
 Method that performs the request which get the profile.json file from server
 
 @param success The block which will be executed upon a successful request
 @param failure The block which will be executed upon a failed request
 */
- (void)requestVenueConfigFileWithSuccess:(BAWebServiceSuccessResponse)success
                                 failure:(BAWebServiceFailureResponse)failure
                                   token: (NSString *) authToken
                         isHTTPSAvailable: (BOOL) isHTTPSAvailable;

- (void) updateCompleteUnitFile: (EAEUnitFile *) unitFile
                          token: (NSString *) authToken
                        success: (BAWebServiceSuccessResponse) success
                        failure: (BAWebServiceFailureResponse) failure
               isHTTPSAvailable: (BOOL) isHTTPSAvailable;

- (void) updateCompleteVenueFile: (EAEVenueConfigFile *) venueConfigFile
                          token: (NSString *) authToken
                        success: (BAWebServiceSuccessResponse) success
                        failure: (BAWebServiceFailureResponse) failure
               isHTTPSAvailable: (BOOL) isHTTPSAvailable;
@end

Swift

protocol EAEExxtractorServerRequesting : NSObjectProtocol

Undocumented