/*
- * Sone - PluginConnector.java - Copyright © 2010–2012 David Roden
+ * Sone - PluginConnector.java - Copyright © 2010–2013 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
import net.pterodactylus.sone.freenet.plugin.event.ReceivedReplyEvent;
-import com.google.common.eventbus.EventBus;
-import com.google.inject.Inject;
-
import freenet.pluginmanager.FredPluginTalker;
import freenet.pluginmanager.PluginNotFoundException;
import freenet.pluginmanager.PluginRespirator;
import freenet.support.SimpleFieldSet;
import freenet.support.api.Bucket;
+import com.google.common.eventbus.EventBus;
+import com.google.inject.Inject;
+
/**
* Interface for talking to other plugins. Other plugins are identified by their
* name and a unique connection identifier.
// INTERFACE FredPluginTalker
//
- /**
- * {@inheritDoc}
- */
@Override
public void onReply(String pluginName, String identifier, SimpleFieldSet params, Bucket data) {
eventBus.post(new ReceivedReplyEvent(this, pluginName, identifier, params, data));