13 @protocol ServiceHandler <NSObject>
15 -(void)onSuccess: (
id)data service:(
id<Service>)service;
16 -(void)onFailure: (
MSTRError*)error service:(
id<Service>)service;
19 -(void)onProgress:(
long long)loadedSize Total:(
long long)totalSize service:(
id<Service>)service;
20 - (void) onCancel:(
id<Service>)service;
25 @protocol Service <NSObject>
30 -(void)setHandler:(
id<ServiceHandler>)_handler;
Definition: MSTRError.h:19