Package com.mikuac.shiro.handler
Class EventHandler
java.lang.Object
com.mikuac.shiro.handler.EventHandler
- All Implemented Interfaces:
org.springframework.boot.ApplicationRunner
@Component
public class EventHandler
extends Object
implements org.springframework.boot.ApplicationRunner
事件处理器
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid事件分发voidrun(org.springframework.boot.ApplicationArguments args) voidsetMessage(MessageEvent message) voidvoidsetNotice(NoticeEvent notice) voidsetNotify(NotifyEvent notify) voidsetRequest(RequestEvent request)
-
Constructor Details
-
EventHandler
public EventHandler()
-
-
Method Details
-
setMeta
-
setNotice
-
setNotify
-
setMessage
-
setRequest
-
run
public void run(org.springframework.boot.ApplicationArguments args) - Specified by:
runin interfaceorg.springframework.boot.ApplicationRunner
-
handler
事件分发- Parameters:
bot-Botresp-JSONObject
-