2 * © 2008 INA Service GmbH
4 package net.pterodactylus.util.fcp;
7 * Adapter for {@link FcpListener}.
9 * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
12 public class FcpAdapter implements FcpListener {
15 * @see FcpListener#receivedNodeHello(FcpConnection, NodeHello)
17 public void receivedNodeHello(FcpConnection fcpConnection, NodeHello nodeHello) {
22 * @see FcpListener#receivedCloseConnectionDuplicateClientName(FcpConnection,
23 * CloseConnectionDuplicateClientName)
25 public void receivedCloseConnectionDuplicateClientName(FcpConnection fcpConnection, CloseConnectionDuplicateClientName closeConnectionDuplicateClientName) {
30 * @see FcpListener#receivedSSKKeypair(FcpConnection, SSKKeypair)
32 public void receivedSSKKeypair(FcpConnection fcpConnection, SSKKeypair sskKeypair) {
37 * @see FcpListener#receivedPeer(FcpConnection, Peer)
39 public void receivedPeer(FcpConnection fcpConnection, Peer peer) {
44 * @see FcpListener#receivedEndListPeers(FcpConnection, EndListPeers)
46 public void receivedEndListPeers(FcpConnection fcpConnection, EndListPeers endListPeers) {
51 * @see FcpListener#receivedPeerNote(FcpConnection, PeerNote)
53 public void receivedPeerNote(FcpConnection fcpConnection, PeerNote peerNote) {
58 * @see FcpListener#receivedEndListPeerNotes(FcpConnection,
61 public void receivedEndListPeerNotes(FcpConnection fcpConnection, EndListPeerNotes endListPeerNotes) {
66 * @see FcpListener#receivedPeerRemoved(FcpConnection, PeerRemoved)
68 public void receivedPeerRemoved(FcpConnection fcpConnection, PeerRemoved peerRemoved) {
75 * @see FcpListener#receivedNodeData(FcpConnection, NodeData)
77 public void receivedNodeData(FcpConnection fcpConnection, NodeData nodeData) {
84 * @see FcpListener#receivedTestDDAReply(FcpConnection, TestDDAReply)
86 public void receivedTestDDAReply(FcpConnection fcpConnection, TestDDAReply testDDAReply) {
91 * @see FcpListener#receivedTestDDAComplete(FcpConnection, TestDDAComplete)
93 public void receivedTestDDAComplete(FcpConnection fcpConnection, TestDDAComplete testDDAComplete) {
98 * @see FcpListener#receivedPersistentGet(FcpConnection, PersistentGet)
100 public void receivedPersistentGet(FcpConnection fcpConnection, PersistentGet persistentGet) {
105 * @see FcpListener#receivedPersistentPut(FcpConnection, PersistentPut)
107 public void receivedPersistentPut(FcpConnection fcpConnection, PersistentPut persistentPut) {
112 * @see FcpListener#receivedEndListPersistentRequests(FcpConnection,
113 * EndListPersistentRequests)
115 public void receivedEndListPersistentRequests(FcpConnection fcpConnection, EndListPersistentRequests endListPersistentRequests) {
120 * @see FcpListener#receivedURIGenerated(FcpConnection, URIGenerated)
122 public void receivedURIGenerated(FcpConnection fcpConnection, URIGenerated uriGenerated) {
127 * @see FcpListener#receivedDataFound(FcpConnection, DataFound)
129 public void receivedDataFound(FcpConnection fcpConnection, DataFound dataFound) {
134 * @see FcpListener#receivedAllData(FcpConnection, AllData)
136 public void receivedAllData(FcpConnection fcpConnection, AllData allData) {
141 * @see FcpListener#receivedSimpleProgress(FcpConnection, SimpleProgress)
143 public void receivedSimpleProgress(FcpConnection fcpConnection, SimpleProgress simpleProgress) {
148 * @see FcpListener#receivedStartedCompression(FcpConnection,
149 * StartedCompression)
151 public void receivedStartedCompression(FcpConnection fcpConnection, StartedCompression startedCompression) {
156 * @see FcpListener#receviedFinishedCompression(FcpConnection,
157 * FinishedCompression)
159 public void receviedFinishedCompression(FcpConnection fcpConnection, FinishedCompression finishedCompression) {
164 * @see FcpListener#receivedUnknownPeerNoteType(FcpConnection,
165 * UnknownPeerNoteType)
167 public void receivedUnknownPeerNoteType(FcpConnection fcpConnection, UnknownPeerNoteType unknownPeerNoteType) {
172 * @see FcpListener#receivedUnknownNodeIdentifier(FcpConnection,
173 * UnknownNodeIdentifier)
175 public void receivedUnknownNodeIdentifier(FcpConnection fcpConnection, UnknownNodeIdentifier unknownNodeIdentifier) {
180 * @see FcpListener#receivedConfigData(FcpConnection, ConfigData)
182 public void receivedConfigData(FcpConnection fcpConnection, ConfigData configData) {
187 * @see FcpListener#receivedProtocolError(FcpConnection, ProtocolError)
189 public void receivedProtocolError(FcpConnection fcpConnection, ProtocolError protocolError) {
194 * @see FcpListener#receivedMessage(FcpConnection, FcpMessage)
196 public void receivedMessage(FcpConnection fcpConnection, FcpMessage fcpMessage) {