类的使用
network.nerve.core.rpc.invoke.BaseInvoke
-
使用BaseInvoke的程序包 程序包 说明 network.nerve.core.rpc.invoke network.nerve.core.rpc.modulebootstrap network.nerve.core.rpc.netty.channel.manager network.nerve.core.rpc.netty.processor -
-
network.nerve.core.rpc.invoke中BaseInvoke的使用
network.nerve.core.rpc.invoke中BaseInvoke的子类 修饰符和类型 类 说明 classKernelInvoke -
network.nerve.core.rpc.modulebootstrap中BaseInvoke的使用
network.nerve.core.rpc.modulebootstrap中BaseInvoke的子类 修饰符和类型 类 说明 classRegisterInvoke -
network.nerve.core.rpc.netty.channel.manager中BaseInvoke的使用
类型参数类型为BaseInvoke的network.nerve.core.rpc.netty.channel.manager中的字段 修饰符和类型 字段 说明 static Map<String,BaseInvoke>ConnectManager. INVOKE_MAP调用远程方法时,可以设置自动回调的本地方法。 -
network.nerve.core.rpc.netty.processor中BaseInvoke的使用
参数类型为BaseInvoke的network.nerve.core.rpc.netty.processor中的方法 修饰符和类型 方法 说明 static StringResponseMessageProcessor. 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 resultstatic StringResponseMessageProcessor. 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 StringResponseMessageProcessor. 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 resultstatic voidResponseMessageProcessor. syncKernel(String kernelUrl, BaseInvoke callbackInvoke)同步本地模块与核心模块(Manager) 1.
-