Netty 协议与接口 · coinex-netty-protocol

职责与定位

包含驱动和服务接口,以及请求、响应、通知处理相关定义。

属性 内容
源码目录 coinex-netty-protocol
分类 通知、协议与支撑服务
工程角色 共享组件 / 构建或任务集合
构建入口 coinex-netty-protocol/pom.xml

已核对的源码入口

类或接口 源码路径
DriverService coinex-netty-protocol/src/main/java/com/exch/netty/protocol/DriverService.java
EthServerService coinex-netty-protocol/src/main/java/com/exch/netty/protocol/EthServerService.java
ServerService coinex-netty-protocol/src/main/java/com/exch/netty/protocol/ServerService.java
Service coinex-netty-protocol/src/main/java/com/exch/netty/protocol/service/Service.java

接口摘录

以下签名来自接口声明,用于定位能力;接口声明不等于实现和线上调用已验证。

DriverService

String getAccounts();
String getAccounts(List<String> list);
String getAccounts(String id);
String getAccounts(String id,Integer count);

EthServerService

Boolean informHash(String orderId,String hash);

ServerService

String test();
void  rechargeRecord(TxInfo txInfo);
void  rechargeRecordContract(TxInfo txInfo);
List<String> getContractByWalletName(String walletName);

核心流程核对

核对协议模型与客户端、服务端双方实现;它是共享协议工程,不默认独立部署。

边界与验证

本页核对了工程结构、所列文件与部分公开接口;未验证完整调用链、生产启用状态或运行结果。

选择一条实际业务请求,记录入口、下游调用、数据变化和错误结果;覆盖无权限、重复请求、下游超时及重启恢复。涉及金额时额外核对精度、冻结、流水和幂等。

返回通知、协议与支撑服务或全部工程与服务。