Package com.mikuac.shiro.task
Class ShiroAsyncTask
java.lang.Object
com.mikuac.shiro.task.ShiroAsyncTask
异步任务
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecHandlerMsg(EventHandler event, long xSelfId, com.alibaba.fastjson2.JSONObject resp) 事件上报处理函数voidsetBotContainer(BotContainer botContainer)
-
Constructor Details
-
ShiroAsyncTask
public ShiroAsyncTask()
-
-
Method Details
-
setBotContainer
-
execHandlerMsg
@Async("shiroTaskExecutor") public void execHandlerMsg(EventHandler event, long xSelfId, com.alibaba.fastjson2.JSONObject resp) 事件上报处理函数- Parameters:
event-EventHandlerxSelfId- 机器人 QQresp- 上报的 Json 数据
-