[fix] socks、http代理 添加流量计费

This commit is contained in:
wujiawei
2025-06-06 23:13:01 +08:00
parent 9cd85abe1d
commit ddb709c3a8
17 changed files with 70 additions and 73 deletions

View File

@ -1,8 +1,8 @@
package org.framework.lazy.cloud.network.heartbeat.common.advanced.flow.proxy;
import org.framework.lazy.cloud.network.heartbeat.common.enums.ChannelFlowEnum;
import org.framework.lazy.cloud.network.heartbeat.common.enums.ChannelProxyFlowTypeEnum;
import org.framework.lazy.cloud.network.heartbeat.common.enums.ChannelProxyTypeEnum;
import org.framework.lazy.cloud.network.heartbeat.common.enums.ChannelProtocolType;
import org.framework.lazy.cloud.network.heartbeat.common.enums.ChannelProxyType;
public interface ChannelProxyFlow {
@ -36,15 +36,15 @@ public interface ChannelProxyFlow {
/**
* 代理流量类型
* @see ChannelProxyFlowTypeEnum
* @see ChannelProtocolType
*/
ChannelProxyFlowTypeEnum channelProxyFlowTypeEnum();
ChannelProtocolType channelProtocolType();
/**
* 代理类型
* @see ChannelProxyTypeEnum
* @see ChannelProxyType
*/
ChannelProxyTypeEnum channelProxyTypeEnum();
ChannelProxyType channelProxyType();
/**
* 流量

View File

@ -8,7 +8,7 @@ import lombok.Getter;
*/
@Getter
@AllArgsConstructor
public enum ChannelProxyTypeEnum {
public enum ChannelProxyType {
SERVER_PROXY_SERVER("服务端代理服务端"),
SERVER_PROXY_CLIENT("服务端远程客户端"),