X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fnet%2Fpterodactylus%2Futil%2Ffcp%2FFcpAdapter.java;h=3cc98423afea491de4d35d1786b86498f4d773c9;hb=fb5dd27f667b4877ae07e1ecfd4be7dde4ae694a;hp=3ffe986e8aafbf92bd701c447ab0a2c2e30227fa;hpb=40e956e19d54642145c71764cdc0eeea89d97607;p=jSite2.git diff --git a/src/net/pterodactylus/util/fcp/FcpAdapter.java b/src/net/pterodactylus/util/fcp/FcpAdapter.java index 3ffe986..3cc9842 100644 --- a/src/net/pterodactylus/util/fcp/FcpAdapter.java +++ b/src/net/pterodactylus/util/fcp/FcpAdapter.java @@ -6,70 +6,62 @@ package net.pterodactylus.util.fcp; /** * 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.NodeHello) + * {@inheritDoc} */ public void receivedNodeHello(FcpConnection fcpConnection, NodeHello nodeHello) { /* empty. */ } /** - * @see net.pterodactylus.util.fcp.FcpListener#receivedCloseConnectionDuplicateClientName(net.pterodactylus.util.fcp.FcpConnection, - * net.pterodactylus.util.fcp.CloseConnectionDuplicateClientName) + * {@inheritDoc} */ 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) + * {@inheritDoc} */ 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) + * {@inheritDoc} */ 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) + * {@inheritDoc} */ 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) + * {@inheritDoc} */ 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) + * {@inheritDoc} */ 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) + * {@inheritDoc} */ public void receivedPeerRemoved(FcpConnection fcpConnection, PeerRemoved peerRemoved) { /* empty. */ @@ -78,8 +70,7 @@ public class FcpAdapter implements FcpListener { /** * {@inheritDoc} * - * @see FcpListener#receivedNodeData(net.pterodactylus.util.fcp.FcpConnection, - * net.pterodactylus.util.fcp.NodeData) + * @see FcpListener#receivedNodeData(FcpConnection, NodeData) */ public void receivedNodeData(FcpConnection fcpConnection, NodeData nodeData) { /* empty. */ @@ -88,48 +79,126 @@ public class FcpAdapter implements FcpListener { /** * {@inheritDoc} * - * @see net.pterodactylus.util.fcp.FcpListener#receivedTestDDAReply(net.pterodactylus.util.fcp.FcpConnection, - * net.pterodactylus.util.fcp.TestDDAReply) + * @see FcpListener#receivedTestDDAReply(FcpConnection, 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) + * {@inheritDoc} */ 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) + * {@inheritDoc} + */ + public void receivedPersistentGet(FcpConnection fcpConnection, PersistentGet persistentGet) { + /* empty. */ + } + + /** + * {@inheritDoc} */ 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) + * {@inheritDoc} */ public void receivedEndListPersistentRequests(FcpConnection fcpConnection, EndListPersistentRequests endListPersistentRequests) { /* empty. */ } /** - * @see net.pterodactylus.util.fcp.FcpListener#receivedProtocolError(net.pterodactylus.util.fcp.FcpConnection, - * net.pterodactylus.util.fcp.ProtocolError) + * {@inheritDoc} + */ + public void receivedURIGenerated(FcpConnection fcpConnection, URIGenerated uriGenerated) { + /* empty. */ + } + + /** + * {@inheritDoc} + */ + public void receivedDataFound(FcpConnection fcpConnection, DataFound dataFound) { + /* empty. */ + } + + /** + * {@inheritDoc} + */ + public void receivedAllData(FcpConnection fcpConnection, AllData allData) { + /* empty. */ + } + + /** + * {@inheritDoc} + */ + public void receivedSimpleProgress(FcpConnection fcpConnection, SimpleProgress simpleProgress) { + /* empty. */ + } + + /** + * {@inheritDoc} + */ + public void receivedStartedCompression(FcpConnection fcpConnection, StartedCompression startedCompression) { + /* empty. */ + } + + /** + * {@inheritDoc} + */ + public void receviedFinishedCompression(FcpConnection fcpConnection, FinishedCompression finishedCompression) { + /* empty. */ + } + + /** + * {@inheritDoc} + */ + public void receivedUnknownPeerNoteType(FcpConnection fcpConnection, UnknownPeerNoteType unknownPeerNoteType) { + /* empty. */ + } + + /** + * {@inheritDoc} + */ + public void receivedUnknownNodeIdentifier(FcpConnection fcpConnection, UnknownNodeIdentifier unknownNodeIdentifier) { + /* empty. */ + } + + /** + * {@inheritDoc} + */ + public void receivedConfigData(FcpConnection fcpConnection, ConfigData configData) { + /* empty. */ + } + + /** + * {@inheritDoc} + */ + public void receivedGetFailed(FcpConnection fcpConnection, GetFailed getFailed) { + /* empty. */ + } + + /** + * {@inheritDoc} + */ + public void receivedPutFailed(FcpConnection fcpConnection, PutFailed putFailed) { + /* empty. */ + } + + /** + * {@inheritDoc} */ 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) + * {@inheritDoc} */ public void receivedMessage(FcpConnection fcpConnection, FcpMessage fcpMessage) { /* empty. */