yacy_search_server/source/de/anomic/server/serverPortForwarding.java

16 lines
459 B
Java
Raw Normal View History

package de.anomic.server;
import java.io.IOException;
public interface serverPortForwarding {
public void init(serverSwitch switchboard, String localHost, int localPort) throws Exception;
public String getHost();
public int getPort();
public void connect() throws IOException;
public void disconnect() throws IOException;
public boolean reconnect() throws IOException;
public boolean isConnected();
}