public class BotContext
extends java.lang.Object
| Constructor and Description |
|---|
BotContext() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.UUID |
bindChannel(io.netty.channel.ChannelId id,
ChainHandler chainHandler)
将链接绑定机器人上下文
|
protected void |
configureShard(java.util.UUID uuid,
Shard shard)
配置并检查当前上下文分片
|
static BotContext |
create(Certificate certificate)
创建机器人上下文
|
protected void |
updateChannel(java.util.UUID uuid,
io.netty.channel.ChannelId id)
更新机器人链接
|
protected void configureShard(java.util.UUID uuid,
Shard shard)
protected java.util.UUID bindChannel(io.netty.channel.ChannelId id,
ChainHandler chainHandler)
protected void updateChannel(java.util.UUID uuid,
io.netty.channel.ChannelId id)
public static BotContext create(Certificate certificate)