Package | Description |
---|---|
com.forte.qqrobot |
主要是core所需要的包
|
Modifier and Type | Method and Description |
---|---|
protected BaseApplication.DefaultSenders<SEND,SET,GET> |
BaseApplication.getDefaultSenders(BotManager botManager)
根据
BaseApplication.getDefaultSender(BotManager) , BaseApplication.getDefaultSetter(BotManager) , BaseApplication.getDefaultGetter(BotManager) 三个函数构建一个RootSenderList
参数分别为一个BotManager和一个MsgGet对象
如果组件不是分为三个部分而构建,则可以考虑重写此函数 |
Modifier and Type | Method and Description |
---|---|
protected abstract CONTEXT |
BaseApplication.getComponentContext(BaseApplication.DefaultSenders<SEND,SET,GET> defaultSenders,
BotManager manager,
MsgParser msgParser,
MsgProcessor processor,
DependCenter dependCenter,
CONFIG config)
获取一个组件专属的SimpleRobotContext对象
|
Copyright © 2020. All rights reserved.