简单网络框架UML
2017-09-14 18:15:48 2 举报
简单网络框架
作者其他创作
大纲/内容
实现
AppManagerApi
+xxx(...):ResponsBean
PhotoApi
WebApi
#IHttpRestApi httpRequestHandler#WebApiExecutorProvider executorProvider ...
HttpsConnectionManager
+enum HttpRequestType+enum HttpContnetType
IHttpRestApi
依赖
AsyncResponseCompletedHandler
super(Looper.getMainLooper)-SQLiteDB db-WepApiServiceType serviceType
聚合
WebApiProvider
+getDefaultWebApiService(WebApiServerType type):IService
APhotoService
ArrayBlockingQueue
''可重入锁保证原子性,put方法会阻塞,take方法同样会阻塞
+add(); poll()+insert(); remove()+put(); take()
IService
AAppManagerService
WebApiExecutorProvider
-ExecutorService exctorSevice
+ doTask(Callabletask):Future+shutdown():void
0 条评论
下一页