a358d4cefe5da0155b67f527b47baa1077f2489f
[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         public void receivedNodeHello(FcpConnection fcpConnection, NodeHello nodeHello) {
32                 /* empty. */
33         }
34
35         /**
36          * {@inheritDoc}
37          */
38         public void receivedCloseConnectionDuplicateClientName(FcpConnection fcpConnection, CloseConnectionDuplicateClientName closeConnectionDuplicateClientName) {
39                 /* empty. */
40         }
41
42         /**
43          * {@inheritDoc}
44          */
45         public void receivedSSKKeypair(FcpConnection fcpConnection, SSKKeypair sskKeypair) {
46                 /* empty. */
47         }
48
49         /**
50          * {@inheritDoc}
51          */
52         public void receivedPeer(FcpConnection fcpConnection, Peer peer) {
53                 /* empty. */
54         }
55
56         /**
57          * {@inheritDoc}
58          */
59         public void receivedEndListPeers(FcpConnection fcpConnection, EndListPeers endListPeers) {
60                 /* empty. */
61         }
62
63         /**
64          * {@inheritDoc}
65          */
66         public void receivedPeerNote(FcpConnection fcpConnection, PeerNote peerNote) {
67                 /* empty. */
68         }
69
70         /**
71          * {@inheritDoc}
72          */
73         public void receivedEndListPeerNotes(FcpConnection fcpConnection, EndListPeerNotes endListPeerNotes) {
74                 /* empty. */
75         }
76
77         /**
78          * {@inheritDoc}
79          */
80         public void receivedPeerRemoved(FcpConnection fcpConnection, PeerRemoved peerRemoved) {
81                 /* empty. */
82         }
83
84         /**
85          * {@inheritDoc}
86          *
87          * @see FcpListener#receivedNodeData(FcpConnection, NodeData)
88          */
89         public void receivedNodeData(FcpConnection fcpConnection, NodeData nodeData) {
90                 /* empty. */
91         }
92
93         /**
94          * {@inheritDoc}
95          *
96          * @see FcpListener#receivedTestDDAReply(FcpConnection, TestDDAReply)
97          */
98         public void receivedTestDDAReply(FcpConnection fcpConnection, TestDDAReply testDDAReply) {
99                 /* empty. */
100         }
101
102         /**
103          * {@inheritDoc}
104          */
105         public void receivedTestDDAComplete(FcpConnection fcpConnection, TestDDAComplete testDDAComplete) {
106                 /* empty. */
107         }
108
109         /**
110          * {@inheritDoc}
111          */
112         public void receivedPersistentGet(FcpConnection fcpConnection, PersistentGet persistentGet) {
113                 /* empty. */
114         }
115
116         /**
117          * {@inheritDoc}
118          */
119         public void receivedPersistentPut(FcpConnection fcpConnection, PersistentPut persistentPut) {
120                 /* empty. */
121         }
122
123         /**
124          * {@inheritDoc}
125          */
126         public void receivedEndListPersistentRequests(FcpConnection fcpConnection, EndListPersistentRequests endListPersistentRequests) {
127                 /* empty. */
128         }
129
130         /**
131          * {@inheritDoc}
132          */
133         public void receivedURIGenerated(FcpConnection fcpConnection, URIGenerated uriGenerated) {
134                 /* empty. */
135         }
136
137         /**
138          * {@inheritDoc}
139          */
140         public void receivedDataFound(FcpConnection fcpConnection, DataFound dataFound) {
141                 /* empty. */
142         }
143
144         /**
145          * {@inheritDoc}
146          */
147         public void receivedAllData(FcpConnection fcpConnection, AllData allData) {
148                 /* empty. */
149         }
150
151         /**
152          * {@inheritDoc}
153          */
154         public void receivedSimpleProgress(FcpConnection fcpConnection, SimpleProgress simpleProgress) {
155                 /* empty. */
156         }
157
158         /**
159          * {@inheritDoc}
160          */
161         public void receivedStartedCompression(FcpConnection fcpConnection, StartedCompression startedCompression) {
162                 /* empty. */
163         }
164
165         /**
166          * {@inheritDoc}
167          */
168         public void receivedFinishedCompression(FcpConnection fcpConnection, FinishedCompression finishedCompression) {
169                 /* empty. */
170         }
171
172         /**
173          * {@inheritDoc}
174          */
175         public void receivedUnknownPeerNoteType(FcpConnection fcpConnection, UnknownPeerNoteType unknownPeerNoteType) {
176                 /* empty. */
177         }
178
179         /**
180          * {@inheritDoc}
181          */
182         public void receivedUnknownNodeIdentifier(FcpConnection fcpConnection, UnknownNodeIdentifier unknownNodeIdentifier) {
183                 /* empty. */
184         }
185
186         /**
187          * {@inheritDoc}
188          */
189         public void receivedConfigData(FcpConnection fcpConnection, ConfigData configData) {
190                 /* empty. */
191         }
192
193         /**
194          * {@inheritDoc}
195          */
196         public void receivedGetFailed(FcpConnection fcpConnection, GetFailed getFailed) {
197                 /* empty. */
198         }
199
200         /**
201          * {@inheritDoc}
202          */
203         public void receivedPutFailed(FcpConnection fcpConnection, PutFailed putFailed) {
204                 /* empty. */
205         }
206
207         /**
208          * {@inheritDoc}
209          */
210         public void receivedIdentifierCollision(FcpConnection fcpConnection, IdentifierCollision identifierCollision) {
211                 /* empty. */
212         }
213
214         /**
215          * {@inheritDoc}
216          */
217         public void receivedPersistentPutDir(FcpConnection fcpConnection, PersistentPutDir persistentPutDir) {
218                 /* empty. */
219         }
220
221         /**
222          * {@inheritDoc}
223          */
224         public void receivedPersistentRequestRemoved(FcpConnection fcpConnection, PersistentRequestRemoved persistentRequestRemoved) {
225                 /* empty. */
226         }
227
228         /**
229          * {@inheritDoc}
230          */
231         public void receivedSubscribedUSKUpdate(FcpConnection fcpConnection, SubscribedUSKUpdate subscribedUSKUpdate) {
232                 /* empty. */
233         }
234
235         /**
236          * {@inheritDoc}
237          */
238         public void receivedPluginInfo(FcpConnection fcpConnection, PluginInfo pluginInfo) {
239                 /* empty. */
240         }
241
242         /**
243          * {@inheritDoc}
244          */
245         public void receivedFCPPluginReply(FcpConnection fcpConnection, FCPPluginReply fcpPluginReply) {
246                 /* empty. */
247         }
248
249         /**
250          * {@inheritDoc}
251          */
252         public void receivedPersistentRequestModified(FcpConnection fcpConnection, PersistentRequestModified persistentRequestModified) {
253                 /* empty. */
254         }
255
256         /**
257          * {@inheritDoc}
258          */
259         public void receivedPutSuccessful(FcpConnection fcpConnection, PutSuccessful putSuccessful) {
260                 /* empty. */
261         }
262
263         /**
264          * {@inheritDoc}
265          */
266         public void receivedPutFetchable(FcpConnection fcpConnection, PutFetchable putFetchable) {
267                 /* empty. */
268         }
269
270         /**
271          * {@inheritDoc}
272          */
273         public void receivedProtocolError(FcpConnection fcpConnection, ProtocolError protocolError) {
274                 /* empty. */
275         }
276
277         /**
278          * {@inheritDoc}
279          */
280         public void receivedSentFeed(FcpConnection source, SentFeed sentFeed) {
281                 /* empty. */
282         }
283
284         /**
285          * {@inheritDoc}
286          */
287         public void receivedBookmarkFeed(FcpConnection fcpConnection, ReceivedBookmarkFeed receivedBookmarkFeed) {
288                 /* empty. */
289         }
290
291         /**
292          * {@inheritDoc}
293          */
294         public void receivedMessage(FcpConnection fcpConnection, FcpMessage fcpMessage) {
295                 /* empty. */
296         }
297
298         /**
299          * {@inheritDoc}
300          */
301         public void connectionClosed(FcpConnection fcpConnection, Throwable throwable) {
302                 /* empty. */
303         }
304
305 }