| 程序包 | 说明 |
|---|---|
| net.hasor.rsf.protocol.rsf |
RSF 1.0协议 数据包编码器和解码器。
|
| net.hasor.rsf.protocol.rsf.v1 |
RSF 协议第一版,底层传输数据结构。
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseBlock |
CodecAdapter.buildResponseBlock(ResponseInfo info)
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CodecAdapter.wirteResponseBlock(ResponseBlock block,
io.netty.buffer.ByteBuf out)
将
ResponseBlock写入ByteBuf。 |
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseBlock |
CodecAdapterForV1.buildResponseBlock(ResponseInfo info) |
ResponseBlock |
RpcResponseProtocolV1.decode(io.netty.buffer.ByteBuf buf)
decode stream to object
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RpcResponseProtocolV1.encode(ResponseBlock resMsg,
io.netty.buffer.ByteBuf buf)
encode Message to byte & write to network framework
|
void |
CodecAdapterForV1.wirteResponseBlock(ResponseBlock block,
io.netty.buffer.ByteBuf out) |
Copyright © 2020–2021. All rights reserved.