net.xeoh.plugins.remote.RemoteAPI.exportPlugin()
Exports a plugin over the network. The implementation decides how to do that. An export result is returned containing additional information about the import. Please keep in mind that the simpler the plugin's interface is, the more likely the export will succeed (depends on the export method; Lipe can handle pretty much, XMLRPC doesn't).
For example, if plugin
is a local plugin and remote
a remote plugin, you could export your local plugin like this:
exportPlugin(plugin);
Your plugin would afterwards be accessible from other VMs on the same machine and the local network. Again, you should keep in mind that some details might differ, depending on the export method you select, so don't be surprised if a specific method call fails (as a rule of thumb, the more complex a method-signature looks like, the less likely it is to work with all exporters).
@param plugin The plugin to export.
@return The export result