* Creates a new “AddPeer” request that reads the noderef of the peer from
* the given file.
*
- * @param file
- * The file to read the noderef from
+ * @param trust The trust values for the new peer
+ * @param visibility The visibility of the new peer
+ * @param file The file to read the noderef from
*/
public AddPeer(Trust trust, Visibility visibility, String file) {
this(trust, visibility);
* Creates a new “AddPeer” request that reads the noderef of the peer from
* the given URL.
*
- * @param url
- * The URL to read the noderef from
+ * @param trust The trust values for the new peer
+ * @param visibility The visibility of the new peer
+ * @param url The URL to read the noderef from
*/
public AddPeer(Trust trust, Visibility visibility, URL url) {
this(trust, visibility);
/**
* Creates a new “AddPeer” request that adds the peer given by the noderef.
*
- * @param nodeRef
- * The noderef of the peer
+ * @param trust The trust values for the new peer
+ * @param visibility The visibility of the new peer
+ * @param nodeRef The noderef of the peer
*/
public AddPeer(Trust trust, Visibility visibility, NodeRef nodeRef) {
this(trust, visibility);
/**
* @deprecated Use {@link #FCPPluginMessage(String, String)} instead
+ * @param pluginClass The name of the plugin’s main class
*/
@Deprecated
public FCPPluginMessage(String pluginClass) {
/**
* @deprecated Use {@link #FCPPluginMessage(String, String)} instead
+ * @param identifier The identifier of the message
*/
@Deprecated
public void setIdentifier(String identifier) {
/**
* @deprecated Use {@link #setData(InputStream, long)} instead
+ * @param dataLength The length of the additional data in this message
*/
@Deprecated
public void setDataLength(long dataLength) {
/**
* Notifies a listener that a message has been received. This method is
- * only called if {@link FcpConnection#handleMessage(FcpMessage)} does not
- * recognize the message. Should that ever happen, please file a bug
- * report!
+ * only called if an unrecognized message is received. Should that ever
+ * happen, please file a bug report!
*
* @param fcpConnection
* The connection that received the message