| 程序包 | 说明 |
|---|---|
| net.hasor.rsf.rpc.caller |
本地发出的远程调用所使用的“请求响应管理器”。
|
| net.hasor.rsf.rpc.net |
负责处理RSF节点间的连接并保障网络通信。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
SenderListener.sendRequest(InterAddress toAddress,
RequestInfo info,
SendCallBack callBack)
向远端发送请求。
|
void |
SenderListener.sendResponse(InterAddress target,
ResponseInfo info,
SendCallBack callBack)
向远端发送响应数据。
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract void |
RsfChannel.sendData(OptionInfo sendData,
SendCallBack sendCallBack)
发送数据
|
void |
RsfChannel.sendData(RequestInfo info,
SendCallBack callBack)
将数据写入 Netty。
|
void |
RsfChannel.sendData(ResponseInfo info,
SendCallBack callBack)
将数据写入 Netty。
|
Copyright © 2020–2021. All rights reserved.