X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fnet%2Fpterodactylus%2Futil%2Ffcp%2FFcpListener.java;h=f34cd0dbae610b194e8d09b2ba7928e7c1175b25;hb=90ef444ae9f502750c837076f1588483619a4212;hp=8b2c6212e36e6d283b09f60b7b1d9d940b66332d;hpb=a238aa37f5716eb715f18a37a436d3ca792e33b0;p=jSite2.git diff --git a/src/net/pterodactylus/util/fcp/FcpListener.java b/src/net/pterodactylus/util/fcp/FcpListener.java index 8b2c621..f34cd0d 100644 --- a/src/net/pterodactylus/util/fcp/FcpListener.java +++ b/src/net/pterodactylus/util/fcp/FcpListener.java @@ -88,7 +88,7 @@ public interface FcpListener extends EventListener { * @param peerNote * The “PeerNote” message */ - public void receviedPeerNote(FcpConnection fcpConnection, PeerNote peerNote); + public void receivedPeerNote(FcpConnection fcpConnection, PeerNote peerNote); /** * Notifies a listener that an “EndListPeerNotes” message was received. @@ -108,7 +108,27 @@ public interface FcpListener extends EventListener { * @param peerRemoved * The “PeerRemoved” message */ - public void receviedPeerRemoved(FcpConnection fcpConnection, PeerRemoved peerRemoved); + public void receivedPeerRemoved(FcpConnection fcpConnection, PeerRemoved peerRemoved); + + /** + * Notifies a listener that a “NodeData” message was received. + * + * @param fcpConnection + * The connection that received the message + * @param nodeData + * The “NodeData” message + */ + public void receivedNodeData(FcpConnection fcpConnection, NodeData nodeData); + + /** + * Notifies a listener that a “TestDDAReply” message was received. + * + * @param fcpConnection + * The connection that received the message + * @param testDDAReply + * The “TestDDAReply” message + */ + public void receivedTestDDAReply(FcpConnection fcpConnection, TestDDAReply testDDAReply); /** * Notifies a listener that a message has been received. This method is only