mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +02:00
0e2c33ee55
- Adding function to manually force peer ping to remote yacy peer See:Network.html?page=4 - for debugging purpose only! *) serverAbstractThread.java: - Adding posibility to notify a server thread via a synchronization object - this is needed e.g. by the port forwarding feature to send a notification to the peerPing thread to redo peer-ping with the new ip/port Settings_p.html *) Port Forwarding Feature (it should work now) - adding a serverThread which is responsible to detect broken port forwarding connections and to do reconnect if needed - serverCore.java: moving port forwarding initialization into a separate function - adding positility to configure the ssh port - moving configuration section on the gui into a separate fieldset - hello.java: only trying to do a second connect to the clientIp address during peer handshake if either remote port forwarding is not enabled locally or the clientIP is not equal to any local ip *) httpdFileHandler.java: - printout a more verbose errormessage *) httpc.java - allowing to deactivate content encoding from outside *) plasmaCrawlWorker.java - the crawler worker now tries to refetch the content of a website without gzip content encoding if a gzip error occured git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@368 6c8d7289-2bf4-0310-a012-ef5d649a1542
16 lines
459 B
Java
16 lines
459 B
Java
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();
|
|
}
|