新增注释,方便理解

master
星期八 5 years ago
parent 2856106cb7
commit a5f4f1d0fc
  1. 11
      proxy-client/src/main/java/org/fengfei/lanproxy/client/listener/ProxyChannelBorrowListener.java

@ -2,10 +2,21 @@ package org.fengfei.lanproxy.client.listener;
import io.netty.channel.Channel;
/**
* 代理频道借阅监听器
*/
public interface ProxyChannelBorrowListener {
/**
* 成功回调
* @param channel
*/
void success(Channel channel);
/**
* 失败回调
* @param cause
*/
void error(Throwable cause);
}

Loading…
Cancel
Save