Add @Override annotations that are missing for JDK-1.6 compatibility.
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / FcpAdapter.java
1 /*
2  * jFCPlib - FcpAdapter.java - Copyright © 2008 David Roden
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17  */
18
19 package net.pterodactylus.fcp;
20
21 /**
22  * Adapter for {@link FcpListener}.
23  *
24  * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
25  */
26 public class FcpAdapter implements FcpListener {
27
28         /**
29          * {@inheritDoc}
30          */
31         @Override
32         public void receivedNodeHello(FcpConnection fcpConnection, NodeHello nodeHello) {
33                 /* empty. */
34         }
35
36         /**
37          * {@inheritDoc}
38          */
39         @Override
40         public void receivedCloseConnectionDuplicateClientName(FcpConnection fcpConnection, CloseConnectionDuplicateClientName closeConnectionDuplicateClientName) {
41                 /* empty. */
42         }
43
44         /**
45          * {@inheritDoc}
46          */
47         @Override
48         public void receivedSSKKeypair(FcpConnection fcpConnection, SSKKeypair sskKeypair) {
49                 /* empty. */
50         }
51
52         /**
53          * {@inheritDoc}
54          */
55         @Override
56         public void receivedPeer(FcpConnection fcpConnection, Peer peer) {
57                 /* empty. */
58         }
59
60         /**
61          * {@inheritDoc}
62          */
63         @Override
64         public void receivedEndListPeers(FcpConnection fcpConnection, EndListPeers endListPeers) {
65                 /* empty. */
66         }
67
68         /**
69          * {@inheritDoc}
70          */
71         @Override
72         public void receivedPeerNote(FcpConnection fcpConnection, PeerNote peerNote) {
73                 /* empty. */
74         }
75
76         /**
77          * {@inheritDoc}
78          */
79         @Override
80         public void receivedEndListPeerNotes(FcpConnection fcpConnection, EndListPeerNotes endListPeerNotes) {
81                 /* empty. */
82         }
83
84         /**
85          * {@inheritDoc}
86          */
87         @Override
88         public void receivedPeerRemoved(FcpConnection fcpConnection, PeerRemoved peerRemoved) {
89                 /* empty. */
90         }
91
92         /**
93          * {@inheritDoc}
94          *
95          * @see FcpListener#receivedNodeData(FcpConnection, NodeData)
96          */
97         @Override
98         public void receivedNodeData(FcpConnection fcpConnection, NodeData nodeData) {
99                 /* empty. */
100         }
101
102         /**
103          * {@inheritDoc}
104          *
105          * @see FcpListener#receivedTestDDAReply(FcpConnection, TestDDAReply)
106          */
107         @Override
108         public void receivedTestDDAReply(FcpConnection fcpConnection, TestDDAReply testDDAReply) {
109                 /* empty. */
110         }
111
112         /**
113          * {@inheritDoc}
114          */
115         @Override
116         public void receivedTestDDAComplete(FcpConnection fcpConnection, TestDDAComplete testDDAComplete) {
117                 /* empty. */
118         }
119
120         /**
121          * {@inheritDoc}
122          */
123         @Override
124         public void receivedPersistentGet(FcpConnection fcpConnection, PersistentGet persistentGet) {
125                 /* empty. */
126         }
127
128         /**
129          * {@inheritDoc}
130          */
131         @Override
132         public void receivedPersistentPut(FcpConnection fcpConnection, PersistentPut persistentPut) {
133                 /* empty. */
134         }
135
136         /**
137          * {@inheritDoc}
138          */
139         @Override
140         public void receivedEndListPersistentRequests(FcpConnection fcpConnection, EndListPersistentRequests endListPersistentRequests) {
141                 /* empty. */
142         }
143
144         /**
145          * {@inheritDoc}
146          */
147         @Override
148         public void receivedURIGenerated(FcpConnection fcpConnection, URIGenerated uriGenerated) {
149                 /* empty. */
150         }
151
152         /**
153          * {@inheritDoc}
154          */
155         @Override
156         public void receivedDataFound(FcpConnection fcpConnection, DataFound dataFound) {
157                 /* empty. */
158         }
159
160         /**
161          * {@inheritDoc}
162          */
163         @Override
164         public void receivedAllData(FcpConnection fcpConnection, AllData allData) {
165                 /* empty. */
166         }
167
168         /**
169          * {@inheritDoc}
170          */
171         @Override
172         public void receivedSimpleProgress(FcpConnection fcpConnection, SimpleProgress simpleProgress) {
173                 /* empty. */
174         }
175
176         /**
177          * {@inheritDoc}
178          */
179         @Override
180         public void receivedStartedCompression(FcpConnection fcpConnection, StartedCompression startedCompression) {
181                 /* empty. */
182         }
183
184         /**
185          * {@inheritDoc}
186          */
187         @Override
188         public void receivedFinishedCompression(FcpConnection fcpConnection, FinishedCompression finishedCompression) {
189                 /* empty. */
190         }
191
192         /**
193          * {@inheritDoc}
194          */
195         @Override
196         public void receivedUnknownPeerNoteType(FcpConnection fcpConnection, UnknownPeerNoteType unknownPeerNoteType) {
197                 /* empty. */
198         }
199
200         /**
201          * {@inheritDoc}
202          */
203         @Override
204         public void receivedUnknownNodeIdentifier(FcpConnection fcpConnection, UnknownNodeIdentifier unknownNodeIdentifier) {
205                 /* empty. */
206         }
207
208         /**
209          * {@inheritDoc}
210          */
211         @Override
212         public void receivedConfigData(FcpConnection fcpConnection, ConfigData configData) {
213                 /* empty. */
214         }
215
216         /**
217          * {@inheritDoc}
218          */
219         @Override
220         public void receivedGetFailed(FcpConnection fcpConnection, GetFailed getFailed) {
221                 /* empty. */
222         }
223
224         /**
225          * {@inheritDoc}
226          */
227         @Override
228         public void receivedPutFailed(FcpConnection fcpConnection, PutFailed putFailed) {
229                 /* empty. */
230         }
231
232         /**
233          * {@inheritDoc}
234          */
235         @Override
236         public void receivedIdentifierCollision(FcpConnection fcpConnection, IdentifierCollision identifierCollision) {
237                 /* empty. */
238         }
239
240         /**
241          * {@inheritDoc}
242          */
243         @Override
244         public void receivedPersistentPutDir(FcpConnection fcpConnection, PersistentPutDir persistentPutDir) {
245                 /* empty. */
246         }
247
248         /**
249          * {@inheritDoc}
250          */
251         @Override
252         public void receivedPersistentRequestRemoved(FcpConnection fcpConnection, PersistentRequestRemoved persistentRequestRemoved) {
253                 /* empty. */
254         }
255
256         /**
257          * {@inheritDoc}
258          */
259         @Override
260         public void receivedSubscribedUSKUpdate(FcpConnection fcpConnection, SubscribedUSKUpdate subscribedUSKUpdate) {
261                 /* empty. */
262         }
263
264         /**
265          * {@inheritDoc}
266          */
267         @Override
268         public void receivedPluginInfo(FcpConnection fcpConnection, PluginInfo pluginInfo) {
269                 /* empty. */
270         }
271
272         /**
273          * {@inheritDoc}
274          */
275         @Override
276         public void receivedFCPPluginReply(FcpConnection fcpConnection, FCPPluginReply fcpPluginReply) {
277                 /* empty. */
278         }
279
280         /**
281          * {@inheritDoc}
282          */
283         @Override
284         public void receivedPersistentRequestModified(FcpConnection fcpConnection, PersistentRequestModified persistentRequestModified) {
285                 /* empty. */
286         }
287
288         /**
289          * {@inheritDoc}
290          */
291         @Override
292         public void receivedPutSuccessful(FcpConnection fcpConnection, PutSuccessful putSuccessful) {
293                 /* empty. */
294         }
295
296         /**
297          * {@inheritDoc}
298          */
299         @Override
300         public void receivedPutFetchable(FcpConnection fcpConnection, PutFetchable putFetchable) {
301                 /* empty. */
302         }
303
304         /**
305          * {@inheritDoc}
306          */
307         @Override
308         public void receivedProtocolError(FcpConnection fcpConnection, ProtocolError protocolError) {
309                 /* empty. */
310         }
311
312         /**
313          * {@inheritDoc}
314          */
315         @Override
316         public void receivedSentFeed(FcpConnection source, SentFeed sentFeed) {
317                 /* empty. */
318         }
319
320         /**
321          * {@inheritDoc}
322          */
323         @Override
324         public void receivedBookmarkFeed(FcpConnection fcpConnection, ReceivedBookmarkFeed receivedBookmarkFeed) {
325                 /* empty. */
326         }
327
328         /**
329          * {@inheritDoc}
330          */
331         @Override
332         public void receivedMessage(FcpConnection fcpConnection, FcpMessage fcpMessage) {
333                 /* empty. */
334         }
335
336         /**
337          * {@inheritDoc}
338          */
339         @Override
340         public void connectionClosed(FcpConnection fcpConnection, Throwable throwable) {
341                 /* empty. */
342         }
343
344 }