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