interaction: add special table interaction

Conflicts:
	source/net/yacy/interaction/Interaction.java
pull/1/head
cominch 13 years ago committed by Michael Peter Christen
parent e14f2881ae
commit df47f31235

@ -390,7 +390,7 @@ public static String Contribution(String url, String value, String username, Str
}
public static String GetTableentry(String url, String type, String username, String peer) {
public static String GetTableentry(String url, String type, String username, String peer) {
final Switchboard sb = Switchboard.getSwitchboard();
@ -418,7 +418,7 @@ public static String GetTableentry(String url, String type, String username, Str
}
return "";
}
@ -430,7 +430,8 @@ public static String Tableentry(String url, String type, String comment, String
peer = sb.peers.myName();
}
Boolean processlocal = false;
Boolean processlocal = false;
Log.logInfo ("TABLE", "PUT "+from+" / "+url+" - "+type+" - "+comment);
if (!sb.getConfig("interaction.contribution.accumulationpeer", "").equals("")) {
@ -472,8 +473,8 @@ public static String Tableentry(String url, String type, String comment, String
map.put("url", url.getBytes());
map.put("username", from.getBytes());
map.put("peer", peer.getBytes());
map.put("status", "new".getBytes());
map.put("peer", peer.getBytes());
map.put("status", "new".getBytes());
map.put("type", type.getBytes());
map.put(type, comment.getBytes());
map.put("timestamp_creation", date.getBytes());

Loading…
Cancel
Save