| 程序包 | 说明 |
|---|---|
| network.nerve.core.rpc.invoke | |
| network.nerve.core.rpc.modulebootstrap | |
| network.nerve.core.rpc.netty.channel.manager | |
| network.nerve.core.rpc.netty.processor |
| 限定符和类型 | 类和说明 |
|---|---|
class |
KernelInvoke |
| 限定符和类型 | 类和说明 |
|---|---|
class |
RegisterInvoke |
| 限定符和类型 | 字段和说明 |
|---|---|
static Map<String,BaseInvoke> |
ConnectManager.INVOKE_MAP
调用远程方法时,可以设置自动回调的本地方法。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
ResponseMessageProcessor.requestAndInvoke(String role,
Request request,
BaseInvoke baseInvoke)
发送Request,封装Request对象(可以一次调用多个cmd)
Send Request, need to wrap the Request object manually(for calling multiple methods at a time)
|
static String |
ResponseMessageProcessor.requestAndInvoke(String role,
String cmd,
Map params,
String subscriptionPeriod,
String subscriptionEventCounter,
BaseInvoke baseInvoke)
发送Request,并根据返回结果自动调用本地方法
Send the Request and automatically call the local method based on the return result
|
static String |
ResponseMessageProcessor.requestAndInvokeWithAck(String role,
String cmd,
Map params,
String subscriptionPeriod,
String subscriptionEventCounter,
BaseInvoke baseInvoke)
发送Request,需要一个Ack作为确认,并根据返回结果自动调用本地方法
Send the Request, an Ack must be received as an acknowledgement, and automatically call the local method based on the return result
|
static void |
ResponseMessageProcessor.syncKernel(String kernelUrl,
BaseInvoke callbackInvoke)
同步本地模块与核心模块(Manager)
1.
|
Copyright © 2021. All rights reserved.