You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
629 B
20 lines
629 B
package com.arialyy.aria.http
|
|
|
|
import android.content.Context
|
|
import com.arialyy.aria.core.DuaContext
|
|
import com.arialyy.aria.core.inf.IComponentInit
|
|
import com.arialyy.aria.queue.DTaskQueue
|
|
import com.arialyy.aria.queue.UTaskQueue
|
|
|
|
/**
|
|
* @Author laoyuyu
|
|
* @Description
|
|
* @Date 3:40 PM 2023/1/26
|
|
**/
|
|
class HttpComponent : IComponentInit {
|
|
override fun init(context: Context) {
|
|
DuaContext.getServiceManager().registerService(DuaContext.D_QUEUE, com.arialyy.aria.queue.DTaskQueue.getInstance())
|
|
DuaContext.getServiceManager().registerService(DuaContext.U_QUEUE, com.arialyy.aria.queue.UTaskQueue.getInstance())
|
|
|
|
}
|
|
} |