X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Futil%2Ffcp%2FFcpAdapter.java;h=e23057456632469cce1c8f57ca3cbe59f33979d8;hb=e98291d3a70d3791b9ed3e87c58e6a45584f1ae2;hp=9a70d0fd3d9efea140239029d75d1cc349749d1a;hpb=1b8dba8bf1acd70b80e51c5905fb5003b117175c;p=jSite2.git diff --git a/src/net/pterodactylus/util/fcp/FcpAdapter.java b/src/net/pterodactylus/util/fcp/FcpAdapter.java index 9a70d0f..e230574 100644 --- a/src/net/pterodactylus/util/fcp/FcpAdapter.java +++ b/src/net/pterodactylus/util/fcp/FcpAdapter.java @@ -3,20 +3,17 @@ */ package net.pterodactylus.util.fcp; -import net.pterodactylus.util.fcp.message.CloseConnectionDuplicateClientName; -import net.pterodactylus.util.fcp.message.NodeHello; - /** * Adapter for {@link FcpListener}. * - * @author David Roden + * @author David ‘Bombe’ Roden <bombe@freenetproject.org> * @version $Id$ */ public class FcpAdapter implements FcpListener { /** * @see net.pterodactylus.util.fcp.FcpListener#receivedNodeHello(net.pterodactylus.util.fcp.FcpConnection, - * net.pterodactylus.util.fcp.message.NodeHello) + * net.pterodactylus.util.fcp.NodeHello) */ public void receivedNodeHello(FcpConnection fcpConnection, NodeHello nodeHello) { /* empty. */ @@ -24,13 +21,153 @@ public class FcpAdapter implements FcpListener { /** * @see net.pterodactylus.util.fcp.FcpListener#receivedCloseConnectionDuplicateClientName(net.pterodactylus.util.fcp.FcpConnection, - * net.pterodactylus.util.fcp.message.CloseConnectionDuplicateClientName) + * net.pterodactylus.util.fcp.CloseConnectionDuplicateClientName) */ public void receivedCloseConnectionDuplicateClientName(FcpConnection fcpConnection, CloseConnectionDuplicateClientName closeConnectionDuplicateClientName) { /* empty. */ } /** + * @see net.pterodactylus.util.fcp.FcpListener#receivedSSKKeypair(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.SSKKeypair) + */ + public void receivedSSKKeypair(FcpConnection fcpConnection, SSKKeypair sskKeypair) { + /* empty. */ + } + + /** + * @see net.pterodactylus.util.fcp.FcpListener#receivedPeer(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.Peer) + */ + public void receivedPeer(FcpConnection fcpConnection, Peer peer) { + /* empty. */ + } + + /** + * @see net.pterodactylus.util.fcp.FcpListener#receivedEndListPeers(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.EndListPeers) + */ + public void receivedEndListPeers(FcpConnection fcpConnection, EndListPeers endListPeers) { + /* empty. */ + } + + /** + * @see net.pterodactylus.util.fcp.FcpListener#receivedPeerNote(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.PeerNote) + */ + public void receivedPeerNote(FcpConnection fcpConnection, PeerNote peerNote) { + /* empty. */ + } + + /** + * @see net.pterodactylus.util.fcp.FcpListener#receivedEndListPeerNotes(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.EndListPeerNotes) + */ + public void receivedEndListPeerNotes(FcpConnection fcpConnection, EndListPeerNotes endListPeerNotes) { + /* empty. */ + } + + /** + * @see net.pterodactylus.util.fcp.FcpListener#receivedPeerRemoved(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.PeerRemoved) + */ + public void receivedPeerRemoved(FcpConnection fcpConnection, PeerRemoved peerRemoved) { + /* empty. */ + } + + /** + * {@inheritDoc} + * + * @see FcpListener#receivedNodeData(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.NodeData) + */ + public void receivedNodeData(FcpConnection fcpConnection, NodeData nodeData) { + /* empty. */ + } + + /** + * {@inheritDoc} + * + * @see net.pterodactylus.util.fcp.FcpListener#receivedTestDDAReply(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.TestDDAReply) + */ + public void receivedTestDDAReply(FcpConnection fcpConnection, TestDDAReply testDDAReply) { + /* empty. */ + } + + /** + * @see net.pterodactylus.util.fcp.FcpListener#receivedTestDDAComplete(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.TestDDAComplete) + */ + public void receivedTestDDAComplete(FcpConnection fcpConnection, TestDDAComplete testDDAComplete) { + /* empty. */ + } + + /** + * @see net.pterodactylus.util.fcp.FcpListener#receivedPersistentPut(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.PersistentPut) + */ + public void receivedPersistentPut(FcpConnection fcpConnection, PersistentPut persistentPut) { + /* empty. */ + } + + /** + * @see net.pterodactylus.util.fcp.FcpListener#receivedEndListPersistentRequests(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.EndListPersistentRequests) + */ + public void receivedEndListPersistentRequests(FcpConnection fcpConnection, EndListPersistentRequests endListPersistentRequests) { + /* empty. */ + } + + /** + * @see net.pterodactylus.util.fcp.FcpListener#receivedURIGenerated(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.URIGenerated) + */ + public void receivedURIGenerated(FcpConnection fcpConnection, URIGenerated uriGenerated) { + /* empty. */ + } + + /** + * @see net.pterodactylus.util.fcp.FcpListener#receivedAllData(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.AllData) + */ + public void receivedAllData(FcpConnection fcpConnection, AllData allData) { + /* empty. */ + } + + /** + * @see net.pterodactylus.util.fcp.FcpListener#receivedSimpleProgress(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.SimpleProgress) + */ + public void receivedSimpleProgress(FcpConnection fcpConnection, SimpleProgress simpleProgress) { + /* empty. */ + } + + /** + * @see net.pterodactylus.util.fcp.FcpListener#receivedStartedCompression(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.StartedCompression) + */ + public void receivedStartedCompression(FcpConnection fcpConnection, StartedCompression startedCompression) { + /* empty. */ + } + + /** + * @see net.pterodactylus.util.fcp.FcpListener#receviedFinishedCompression(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.FinishedCompression) + */ + public void receviedFinishedCompression(FcpConnection fcpConnection, FinishedCompression finishedCompression) { + /* empty. */ + } + + /** + * @see net.pterodactylus.util.fcp.FcpListener#receivedProtocolError(net.pterodactylus.util.fcp.FcpConnection, + * net.pterodactylus.util.fcp.ProtocolError) + */ + public void receivedProtocolError(FcpConnection fcpConnection, ProtocolError protocolError) { + /* empty. */ + } + + /** * @see net.pterodactylus.util.fcp.FcpListener#receivedMessage(net.pterodactylus.util.fcp.FcpConnection, * net.pterodactylus.util.fcp.FcpMessage) */