| 程序包 | 说明 |
|---|---|
| cn.structure.starter.netty.server.invoker |
| 限定符和类型 | 字段和说明 |
|---|---|
static Map<String,Map<String,SocketInvoker>> |
InvokerHolder.invokers
用于存储执行器
|
| 限定符和类型 | 方法和说明 |
|---|---|
static SocketInvoker |
InvokerHolder.getInvoker(String cmd)
获取一个执行器
|
static SocketInvoker |
InvokerHolder.getInvoker(String module,
String cmd)
获取一个执行器
|
static SocketInvoker |
SocketInvoker.valueOf(Object object,
Method method)
初始化socket执行器
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
InvokerHolder.addInvoker(String module,
String cmd,
SocketInvoker invoker)
添加一个执行器
|
Copyright © 2020–2021 structure. All rights reserved.