开发版本-developer——01 first commit
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* AlibcNetServiceBase.h
|
||||
*
|
||||
* 阿里百川电商
|
||||
* 项目名称:阿里巴巴电商 AlibcTradeCommon
|
||||
* 版本号:3.1.1.93
|
||||
* 发布时间:2017-03-06
|
||||
* 开发团队:阿里巴巴百川商业化团队
|
||||
* 阿里巴巴电商SDK答疑群号:1229144682(阿里旺旺)
|
||||
* Copyright (c) 2016-2019 阿里巴巴-移动事业群-百川. All rights reserved.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "AlibcNetPacket.h"
|
||||
|
||||
#ifndef AlibcNetServiceBase_h
|
||||
#define AlibcNetServiceBase_h
|
||||
|
||||
#define AMP_NET_ERROR_TIME_OUT 118
|
||||
|
||||
@interface AlibcNetServiceBase : NSObject
|
||||
@property(nonatomic, assign) NSTimeInterval timeoutSeconds;
|
||||
|
||||
- (BOOL)processPacket:(AlibcNetPacket *)packet;
|
||||
|
||||
- (void)netPacketSuccess:(AlibcNetPacket *)packet data:(id)data;
|
||||
|
||||
- (void)netPacketFail:(AlibcNetPacket *)packet error:(AlibcNetError *)error;
|
||||
|
||||
//子类重载该函数,执行真实发送 ,其他的不要乱重载
|
||||
- (BOOL)performSend:(AlibcNetPacket *)packet;
|
||||
|
||||
- (BOOL)shouldRetry:(NSError *)error;
|
||||
@end
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user