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 {
17 public void receivedNodeHello(FcpConnection fcpConnection, NodeHello nodeHello) {
24 public void receivedCloseConnectionDuplicateClientName(FcpConnection fcpConnection, CloseConnectionDuplicateClientName closeConnectionDuplicateClientName) {
31 public void receivedSSKKeypair(FcpConnection fcpConnection, SSKKeypair sskKeypair) {
38 public void receivedPeer(FcpConnection fcpConnection, Peer peer) {
45 public void receivedEndListPeers(FcpConnection fcpConnection, EndListPeers endListPeers) {
52 public void receivedPeerNote(FcpConnection fcpConnection, PeerNote peerNote) {
59 public void receivedEndListPeerNotes(FcpConnection fcpConnection, EndListPeerNotes endListPeerNotes) {
66 public void receivedPeerRemoved(FcpConnection fcpConnection, PeerRemoved peerRemoved) {
73 * @see FcpListener#receivedNodeData(FcpConnection, NodeData)
75 public void receivedNodeData(FcpConnection fcpConnection, NodeData nodeData) {
82 * @see FcpListener#receivedTestDDAReply(FcpConnection, TestDDAReply)
84 public void receivedTestDDAReply(FcpConnection fcpConnection, TestDDAReply testDDAReply) {
91 public void receivedTestDDAComplete(FcpConnection fcpConnection, TestDDAComplete testDDAComplete) {
98 public void receivedPersistentGet(FcpConnection fcpConnection, PersistentGet persistentGet) {
105 public void receivedPersistentPut(FcpConnection fcpConnection, PersistentPut persistentPut) {
112 public void receivedEndListPersistentRequests(FcpConnection fcpConnection, EndListPersistentRequests endListPersistentRequests) {
119 public void receivedURIGenerated(FcpConnection fcpConnection, URIGenerated uriGenerated) {
126 public void receivedDataFound(FcpConnection fcpConnection, DataFound dataFound) {
133 public void receivedAllData(FcpConnection fcpConnection, AllData allData) {
140 public void receivedSimpleProgress(FcpConnection fcpConnection, SimpleProgress simpleProgress) {
147 public void receivedStartedCompression(FcpConnection fcpConnection, StartedCompression startedCompression) {
154 public void receviedFinishedCompression(FcpConnection fcpConnection, FinishedCompression finishedCompression) {
161 public void receivedUnknownPeerNoteType(FcpConnection fcpConnection, UnknownPeerNoteType unknownPeerNoteType) {
168 public void receivedUnknownNodeIdentifier(FcpConnection fcpConnection, UnknownNodeIdentifier unknownNodeIdentifier) {
175 public void receivedConfigData(FcpConnection fcpConnection, ConfigData configData) {
182 public void receivedGetFailed(FcpConnection fcpConnection, GetFailed getFailed) {
189 public void receivedPutFailed(FcpConnection fcpConnection, PutFailed putFailed) {
196 public void receivedIdentifierCollision(FcpConnection fcpConnection, IdentifierCollision identifierCollision) {
203 public void receivedPersistentPutDir(FcpConnection fcpConnection, PersistentPutDir persistentPutDir) {
210 public void receivedPersistentRequestRemoved(FcpConnection fcpConnection, PersistentRequestRemoved persistentRequestRemoved) {
217 public void receivedSubscribedUSKUpdate(FcpConnection fcpConnection, SubscribedUSKUpdate subscribedUSKUpdate) {
224 public void receivedPluginInfo(FcpConnection fcpConnection, PluginInfo pluginInfo) {
231 public void receivedFCPPluginReply(FcpConnection fcpConnection, FCPPluginReply fcpPluginReply) {
238 public void receivedPersistentRequestModified(FcpConnection fcpConnection, PersistentRequestModified persistentRequestModified) {
245 public void receivedPutSuccessful(FcpConnection fcpConnection, PutSuccessful putSuccessful) {
252 public void receivedPutFetchable(FcpConnection fcpConnection, PutFetchable putFetchable) {
259 public void receivedProtocolError(FcpConnection fcpConnection, ProtocolError protocolError) {
266 public void receivedMessage(FcpConnection fcpConnection, FcpMessage fcpMessage) {