mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-16 18:35:05 +08:00
[fix] socks、http代理 添加流量计费
This commit is contained in:
@ -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();
|
||||
|
||||
/**
|
||||
* 流量
|
||||
|
@ -8,7 +8,7 @@ import lombok.Getter;
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum ChannelProxyFlowTypeEnum {
|
||||
public enum ChannelProtocolType {
|
||||
|
||||
// HTTP
|
||||
HTTP,
|
@ -8,7 +8,7 @@ import lombok.Getter;
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum ChannelProxyTypeEnum {
|
||||
public enum ChannelProxyType {
|
||||
|
||||
SERVER_PROXY_SERVER("服务端代理服务端"),
|
||||
SERVER_PROXY_CLIENT("服务端远程客户端"),
|
Reference in New Issue
Block a user