| 程序包 | 说明 |
|---|---|
| cloud.tianai.remoting.api |
| 限定符和类型 | 方法和说明 |
|---|---|
Channel |
RemotingChannelHolder.getChannel()
获取管道
|
| 限定符和类型 | 方法和说明 |
|---|---|
static DefaultFuture |
DefaultFuture.newFuture(Channel channel,
Request request,
int timeout) |
static DefaultFuture |
DefaultFuture.newFuture(Channel channel,
Request request,
int timeout,
ExecutorService executor) |
void |
RequestResponseRemotingDataProcessor.readMessage(Channel channel,
Object msg,
Object extend) |
void |
RemotingDataProcessor.readMessage(Channel channel,
Object msg,
Object extend)
读到数据, 回调函数
|
static void |
DefaultFuture.received(Channel channel,
Response response,
boolean timeout) |
void |
RequestResponseRemotingDataProcessor.sendHeartbeat(Channel channel,
Object extend) |
void |
RemotingDataProcessor.sendHeartbeat(Channel channel,
Object extend)
发送心跳请求
|
Object |
RequestResponseRemotingDataProcessor.writeMessage(Channel channel,
Object msg,
Object extend) |
Object |
RemotingDataProcessor.writeMessage(Channel channel,
Object msg,
Object extend)
写数据,回调函数, 用于扩展
|
Copyright © 2020. All rights reserved.