import net.pterodactylus.sone.freenet.fcp.Command;
import net.pterodactylus.sone.freenet.fcp.FcpException;
import net.pterodactylus.sone.freenet.fcp.Command.AccessType;
-import net.pterodactylus.sone.freenet.fcp.Command.Reply;
+import net.pterodactylus.sone.freenet.fcp.Command.Response;
import freenet.pluginmanager.FredPluginFCP;
import freenet.pluginmanager.PluginNotFoundException;
import freenet.pluginmanager.PluginReplySender;
*/
public FcpInterface(Core core) {
commands.put("Version", new VersionCommand());
+ commands.put("GetLocalSones", new GetLocalSonesCommand(core));
commands.put("GetPostFeed", new GetPostFeedCommand(core));
}
return;
}
try {
- Reply reply = command.execute(parameters, data, AccessType.values()[accessType]);
+ Response reply = command.execute(parameters, data, AccessType.values()[accessType]);
SimpleFieldSet replyParameters = reply.getReplyParameters();
replyParameters.putOverwrite("Identifier", identifier);
if (reply.hasData()) {