public interface FcpListener extends EventListener {
/**
- * Notifies listeners that a “NodeHello” message was received.
+ * Notifies a listener that a “NodeHello” message was received.
*
* @param fcpConnection
* The connection that received the message
public void receivedNodeHello(FcpConnection fcpConnection, NodeHello nodeHello);
/**
- * Notifies all listeners that a “CloseConnectionDuplicateClientName”
- * message was received.
+ * Notifies a listener that a “CloseConnectionDuplicateClientName” message
+ * was received.
*
* @param fcpConnection
* The connection that received the message
public void receivedCloseConnectionDuplicateClientName(FcpConnection fcpConnection, CloseConnectionDuplicateClientName closeConnectionDuplicateClientName);
/**
- * Notifies all listeners that a “SSKKeypair” message was received.
+ * Notifies a listener that a “SSKKeypair” message was received.
*
* @param fcpConnection
* The connection that received themessage
public void receivedSSKKeypair(FcpConnection fcpConnection, SSKKeypair sskKeypair);
/**
- * Notifies all listeners that a “Peer” message was received.
+ * Notifies a listener that a “Peer” message was received.
*
* @param fcpConnection
* The connection that received the message
public void receivedEndListPeers(FcpConnection fcpConnection, EndListPeers endListPeers);
/**
- * Notifies listeners that a message has been received. This method is only
+ * 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!
*