+ public void start() throws PluginException {
+ try {
+ FCPPluginConnection pluginConnection = pluginRespirator.connectToOtherPlugin("plugins.WebOfTrust.WebOfTrust", this);
+ logger.fine("Got PluginConnection: " + pluginConnection);
+ SimpleFieldSet simpleFieldSet = new SimpleFieldSetBuilder().put("Message", "Subscribe").put("To", "Identities").get();
+ pluginConnection.send(FCPPluginMessage.construct(simpleFieldSet, null));
+ } catch (PluginNotFoundException pnfe1) {
+ throw new PluginException(pnfe1);
+ } catch (IOException ioe1) {
+ throw new PluginException(ioe1);
+ }
+ }
+
+ @Override
+ public FCPPluginMessage handlePluginFCPMessage(FCPPluginConnection connection, FCPPluginMessage message) {
+ logger.fine("Got Reply: " + message);
+ return null;
+ }