Update license to GPLv3, fix header comments
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / FcpAdapter.java
index a358d4c..63a04ef 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * jFCPlib - FcpAdapter.java - Copyright © 2008 David Roden
+ * jFCPlib - FcpAdapter.java - Copyright © 2008–2016 David Roden
  *
- * This program is free software; you can redistribute it and/or modify
+ * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation, either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
@@ -12,8 +12,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 package net.pterodactylus.fcp;
@@ -28,6 +27,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedNodeHello(FcpConnection fcpConnection, NodeHello nodeHello) {
                /* empty. */
        }
@@ -35,6 +35,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedCloseConnectionDuplicateClientName(FcpConnection fcpConnection, CloseConnectionDuplicateClientName closeConnectionDuplicateClientName) {
                /* empty. */
        }
@@ -42,6 +43,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedSSKKeypair(FcpConnection fcpConnection, SSKKeypair sskKeypair) {
                /* empty. */
        }
@@ -49,6 +51,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedPeer(FcpConnection fcpConnection, Peer peer) {
                /* empty. */
        }
@@ -56,6 +59,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedEndListPeers(FcpConnection fcpConnection, EndListPeers endListPeers) {
                /* empty. */
        }
@@ -63,6 +67,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedPeerNote(FcpConnection fcpConnection, PeerNote peerNote) {
                /* empty. */
        }
@@ -70,6 +75,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedEndListPeerNotes(FcpConnection fcpConnection, EndListPeerNotes endListPeerNotes) {
                /* empty. */
        }
@@ -77,6 +83,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedPeerRemoved(FcpConnection fcpConnection, PeerRemoved peerRemoved) {
                /* empty. */
        }
@@ -86,6 +93,7 @@ public class FcpAdapter implements FcpListener {
         *
         * @see FcpListener#receivedNodeData(FcpConnection, NodeData)
         */
+       @Override
        public void receivedNodeData(FcpConnection fcpConnection, NodeData nodeData) {
                /* empty. */
        }
@@ -95,6 +103,7 @@ public class FcpAdapter implements FcpListener {
         *
         * @see FcpListener#receivedTestDDAReply(FcpConnection, TestDDAReply)
         */
+       @Override
        public void receivedTestDDAReply(FcpConnection fcpConnection, TestDDAReply testDDAReply) {
                /* empty. */
        }
@@ -102,6 +111,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedTestDDAComplete(FcpConnection fcpConnection, TestDDAComplete testDDAComplete) {
                /* empty. */
        }
@@ -109,6 +119,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedPersistentGet(FcpConnection fcpConnection, PersistentGet persistentGet) {
                /* empty. */
        }
@@ -116,6 +127,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedPersistentPut(FcpConnection fcpConnection, PersistentPut persistentPut) {
                /* empty. */
        }
@@ -123,6 +135,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedEndListPersistentRequests(FcpConnection fcpConnection, EndListPersistentRequests endListPersistentRequests) {
                /* empty. */
        }
@@ -130,6 +143,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedURIGenerated(FcpConnection fcpConnection, URIGenerated uriGenerated) {
                /* empty. */
        }
@@ -137,6 +151,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedDataFound(FcpConnection fcpConnection, DataFound dataFound) {
                /* empty. */
        }
@@ -144,6 +159,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedAllData(FcpConnection fcpConnection, AllData allData) {
                /* empty. */
        }
@@ -151,6 +167,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedSimpleProgress(FcpConnection fcpConnection, SimpleProgress simpleProgress) {
                /* empty. */
        }
@@ -158,6 +175,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedStartedCompression(FcpConnection fcpConnection, StartedCompression startedCompression) {
                /* empty. */
        }
@@ -165,6 +183,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedFinishedCompression(FcpConnection fcpConnection, FinishedCompression finishedCompression) {
                /* empty. */
        }
@@ -172,6 +191,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedUnknownPeerNoteType(FcpConnection fcpConnection, UnknownPeerNoteType unknownPeerNoteType) {
                /* empty. */
        }
@@ -179,6 +199,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedUnknownNodeIdentifier(FcpConnection fcpConnection, UnknownNodeIdentifier unknownNodeIdentifier) {
                /* empty. */
        }
@@ -186,6 +207,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedConfigData(FcpConnection fcpConnection, ConfigData configData) {
                /* empty. */
        }
@@ -193,6 +215,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedGetFailed(FcpConnection fcpConnection, GetFailed getFailed) {
                /* empty. */
        }
@@ -200,6 +223,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedPutFailed(FcpConnection fcpConnection, PutFailed putFailed) {
                /* empty. */
        }
@@ -207,6 +231,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedIdentifierCollision(FcpConnection fcpConnection, IdentifierCollision identifierCollision) {
                /* empty. */
        }
@@ -214,6 +239,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedPersistentPutDir(FcpConnection fcpConnection, PersistentPutDir persistentPutDir) {
                /* empty. */
        }
@@ -221,13 +247,20 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedPersistentRequestRemoved(FcpConnection fcpConnection, PersistentRequestRemoved persistentRequestRemoved) {
                /* empty. */
        }
 
+       @Override
+       public void receivedSubscribedUSK(FcpConnection fcpConnection, SubscribedUSK subscribedUSK) {
+               /* empty. */
+       }
+
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedSubscribedUSKUpdate(FcpConnection fcpConnection, SubscribedUSKUpdate subscribedUSKUpdate) {
                /* empty. */
        }
@@ -235,6 +268,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedPluginInfo(FcpConnection fcpConnection, PluginInfo pluginInfo) {
                /* empty. */
        }
@@ -242,6 +276,12 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
+       public void receivedPluginRemoved(FcpConnection fcpConnection, PluginRemoved pluginRemoved) {
+               /* empty. */
+       }
+
+       @Override
        public void receivedFCPPluginReply(FcpConnection fcpConnection, FCPPluginReply fcpPluginReply) {
                /* empty. */
        }
@@ -249,6 +289,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedPersistentRequestModified(FcpConnection fcpConnection, PersistentRequestModified persistentRequestModified) {
                /* empty. */
        }
@@ -256,6 +297,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedPutSuccessful(FcpConnection fcpConnection, PutSuccessful putSuccessful) {
                /* empty. */
        }
@@ -263,6 +305,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedPutFetchable(FcpConnection fcpConnection, PutFetchable putFetchable) {
                /* empty. */
        }
@@ -270,6 +313,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedProtocolError(FcpConnection fcpConnection, ProtocolError protocolError) {
                /* empty. */
        }
@@ -277,6 +321,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedSentFeed(FcpConnection source, SentFeed sentFeed) {
                /* empty. */
        }
@@ -284,6 +329,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedBookmarkFeed(FcpConnection fcpConnection, ReceivedBookmarkFeed receivedBookmarkFeed) {
                /* empty. */
        }
@@ -291,6 +337,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void receivedMessage(FcpConnection fcpConnection, FcpMessage fcpMessage) {
                /* empty. */
        }
@@ -298,6 +345,7 @@ public class FcpAdapter implements FcpListener {
        /**
         * {@inheritDoc}
         */
+       @Override
        public void connectionClosed(FcpConnection fcpConnection, Throwable throwable) {
                /* empty. */
        }