You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
459 B
16 lines
459 B
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();
|
|
}
|