cn.banny.rp.forward.PortForwarder Maven / Gradle / Ivy
The newest version!
package cn.banny.rp.forward;
import java.io.IOException;
import java.util.concurrent.ThreadFactory;
/**
* @author zhkl0228
*
*/
public interface PortForwarder extends ForwarderListener, ThreadFactory {
String getOutHost();
int getOutPort();
int getListenPort();
int start() throws IOException;
void stop();
}