Update license to GPLv3, fix header comments
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / FcpAdapter.java
1 /*
2  * jFCPlib - FcpAdapter.java - Copyright © 2008–2016 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 3 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, see <http://www.gnu.org/licenses/>.
16  */
17
18 package net.pterodactylus.fcp;
19
20 /**
21  * Adapter for {@link FcpListener}.
22  *
23  * @author David ‘Bombe’ Roden &lt;bombe@freenetproject.org&gt;
24  */
25 public class FcpAdapter implements FcpListener {
26
27         /**
28          * {@inheritDoc}
29          */
30         @Override
31         public void receivedNodeHello(FcpConnection fcpConnection, NodeHello nodeHello) {
32                 /* empty. */
33         }
34
35         /**
36          * {@inheritDoc}
37          */
38         @Override
39         public void receivedCloseConnectionDuplicateClientName(FcpConnection fcpConnection, CloseConnectionDuplicateClientName closeConnectionDuplicateClientName) {
40                 /* empty. */
41         }
42
43         /**
44          * {@inheritDoc}
45          */
46         @Override
47         public void receivedSSKKeypair(FcpConnection fcpConnection, SSKKeypair sskKeypair) {
48                 /* empty. */
49         }
50
51         /**
52          * {@inheritDoc}
53          */
54         @Override
55         public void receivedPeer(FcpConnection fcpConnection, Peer peer) {
56                 /* empty. */
57         }
58
59         /**
60          * {@inheritDoc}
61          */
62         @Override
63         public void receivedEndListPeers(FcpConnection fcpConnection, EndListPeers endListPeers) {
64                 /* empty. */
65         }
66
67         /**
68          * {@inheritDoc}
69          */
70         @Override
71         public void receivedPeerNote(FcpConnection fcpConnection, PeerNote peerNote) {
72                 /* empty. */
73         }
74
75         /**
76          * {@inheritDoc}
77          */
78         @Override
79         public void receivedEndListPeerNotes(FcpConnection fcpConnection, EndListPeerNotes endListPeerNotes) {
80                 /* empty. */
81         }
82
83         /**
84          * {@inheritDoc}
85          */
86         @Override
87         public void receivedPeerRemoved(FcpConnection fcpConnection, PeerRemoved peerRemoved) {
88                 /* empty. */
89         }
90
91         /**
92          * {@inheritDoc}
93          *
94          * @see FcpListener#receivedNodeData(FcpConnection, NodeData)
95          */
96         @Override
97         public void receivedNodeData(FcpConnection fcpConnection, NodeData nodeData) {
98                 /* empty. */
99         }
100
101         /**
102          * {@inheritDoc}
103          *
104          * @see FcpListener#receivedTestDDAReply(FcpConnection, TestDDAReply)
105          */
106         @Override
107         public void receivedTestDDAReply(FcpConnection fcpConnection, TestDDAReply testDDAReply) {
108                 /* empty. */
109         }
110
111         /**
112          * {@inheritDoc}
113          */
114         @Override
115         public void receivedTestDDAComplete(FcpConnection fcpConnection, TestDDAComplete testDDAComplete) {
116                 /* empty. */
117         }
118
119         /**
120          * {@inheritDoc}
121          */
122         @Override
123         public void receivedPersistentGet(FcpConnection fcpConnection, PersistentGet persistentGet) {
124                 /* empty. */
125         }
126
127         /**
128          * {@inheritDoc}
129          */
130         @Override
131         public void receivedPersistentPut(FcpConnection fcpConnection, PersistentPut persistentPut) {
132                 /* empty. */
133         }
134
135         /**
136          * {@inheritDoc}
137          */
138         @Override
139         public void receivedEndListPersistentRequests(FcpConnection fcpConnection, EndListPersistentRequests endListPersistentRequests) {
140                 /* empty. */
141         }
142
143         /**
144          * {@inheritDoc}
145          */
146         @Override
147         public void receivedURIGenerated(FcpConnection fcpConnection, URIGenerated uriGenerated) {
148                 /* empty. */
149         }
150
151         /**
152          * {@inheritDoc}
153          */
154         @Override
155         public void receivedDataFound(FcpConnection fcpConnection, DataFound dataFound) {
156                 /* empty. */
157         }
158
159         /**
160          * {@inheritDoc}
161          */
162         @Override
163         public void receivedAllData(FcpConnection fcpConnection, AllData allData) {
164                 /* empty. */
165         }
166
167         /**
168          * {@inheritDoc}
169          */
170         @Override
171         public void receivedSimpleProgress(FcpConnection fcpConnection, SimpleProgress simpleProgress) {
172                 /* empty. */
173         }
174
175         /**
176          * {@inheritDoc}
177          */
178         @Override
179         public void receivedStartedCompression(FcpConnection fcpConnection, StartedCompression startedCompression) {
180                 /* empty. */
181         }
182
183         /**
184          * {@inheritDoc}
185          */
186         @Override
187         public void receivedFinishedCompression(FcpConnection fcpConnection, FinishedCompression finishedCompression) {
188                 /* empty. */
189         }
190
191         /**
192          * {@inheritDoc}
193          */
194         @Override
195         public void receivedUnknownPeerNoteType(FcpConnection fcpConnection, UnknownPeerNoteType unknownPeerNoteType) {
196                 /* empty. */
197         }
198
199         /**
200          * {@inheritDoc}
201          */
202         @Override
203         public void receivedUnknownNodeIdentifier(FcpConnection fcpConnection, UnknownNodeIdentifier unknownNodeIdentifier) {
204                 /* empty. */
205         }
206
207         /**
208          * {@inheritDoc}
209          */
210         @Override
211         public void receivedConfigData(FcpConnection fcpConnection, ConfigData configData) {
212                 /* empty. */
213         }
214
215         /**
216          * {@inheritDoc}
217          */
218         @Override
219         public void receivedGetFailed(FcpConnection fcpConnection, GetFailed getFailed) {
220                 /* empty. */
221         }
222
223         /**
224          * {@inheritDoc}
225          */
226         @Override
227         public void receivedPutFailed(FcpConnection fcpConnection, PutFailed putFailed) {
228                 /* empty. */
229         }
230
231         /**
232          * {@inheritDoc}
233          */
234         @Override
235         public void receivedIdentifierCollision(FcpConnection fcpConnection, IdentifierCollision identifierCollision) {
236                 /* empty. */
237         }
238
239         /**
240          * {@inheritDoc}
241          */
242         @Override
243         public void receivedPersistentPutDir(FcpConnection fcpConnection, PersistentPutDir persistentPutDir) {
244                 /* empty. */
245         }
246
247         /**
248          * {@inheritDoc}
249          */
250         @Override
251         public void receivedPersistentRequestRemoved(FcpConnection fcpConnection, PersistentRequestRemoved persistentRequestRemoved) {
252                 /* empty. */
253         }
254
255         @Override
256         public void receivedSubscribedUSK(FcpConnection fcpConnection, SubscribedUSK subscribedUSK) {
257                 /* empty. */
258         }
259
260         /**
261          * {@inheritDoc}
262          */
263         @Override
264         public void receivedSubscribedUSKUpdate(FcpConnection fcpConnection, SubscribedUSKUpdate subscribedUSKUpdate) {
265                 /* empty. */
266         }
267
268         /**
269          * {@inheritDoc}
270          */
271         @Override
272         public void receivedPluginInfo(FcpConnection fcpConnection, PluginInfo pluginInfo) {
273                 /* empty. */
274         }
275
276         /**
277          * {@inheritDoc}
278          */
279         @Override
280         public void receivedPluginRemoved(FcpConnection fcpConnection, PluginRemoved pluginRemoved) {
281                 /* empty. */
282         }
283
284         @Override
285         public void receivedFCPPluginReply(FcpConnection fcpConnection, FCPPluginReply fcpPluginReply) {
286                 /* empty. */
287         }
288
289         /**
290          * {@inheritDoc}
291          */
292         @Override
293         public void receivedPersistentRequestModified(FcpConnection fcpConnection, PersistentRequestModified persistentRequestModified) {
294                 /* empty. */
295         }
296
297         /**
298          * {@inheritDoc}
299          */
300         @Override
301         public void receivedPutSuccessful(FcpConnection fcpConnection, PutSuccessful putSuccessful) {
302                 /* empty. */
303         }
304
305         /**
306          * {@inheritDoc}
307          */
308         @Override
309         public void receivedPutFetchable(FcpConnection fcpConnection, PutFetchable putFetchable) {
310                 /* empty. */
311         }
312
313         /**
314          * {@inheritDoc}
315          */
316         @Override
317         public void receivedProtocolError(FcpConnection fcpConnection, ProtocolError protocolError) {
318                 /* empty. */
319         }
320
321         /**
322          * {@inheritDoc}
323          */
324         @Override
325         public void receivedSentFeed(FcpConnection source, SentFeed sentFeed) {
326                 /* empty. */
327         }
328
329         /**
330          * {@inheritDoc}
331          */
332         @Override
333         public void receivedBookmarkFeed(FcpConnection fcpConnection, ReceivedBookmarkFeed receivedBookmarkFeed) {
334                 /* empty. */
335         }
336
337         /**
338          * {@inheritDoc}
339          */
340         @Override
341         public void receivedMessage(FcpConnection fcpConnection, FcpMessage fcpMessage) {
342                 /* empty. */
343         }
344
345         /**
346          * {@inheritDoc}
347          */
348         @Override
349         public void connectionClosed(FcpConnection fcpConnection, Throwable throwable) {
350                 /* empty. */
351         }
352
353 }