2 * Package that holds all the message types that are used in the communication
7 * This library was designed to implement the full range of the Freenet Client
8 * Protocol, Version 2.0. At the moment the library provides a rather low-level
9 * approach, wrapping each FCP message into its own object but some kind of
10 * high-level client that does not require any interfaces to be implemented
11 * will probably provided as well.
13 * So far there are three kinds of approach on using the FCP library in your
14 * own projects: the {@link net.pterodactylus.util.fcp.FcpListener} method, the
15 * {@link net.pterodactylus.util.fcp.FcpAdapter} method, and the
16 * {@link net.pterodactylus.util.fcp.FcpHighLevelClient} method (<em>not yet
19 * For all three methods you need an instance of
20 * {@link net.pterodactylus.util.fcp.FcpConnection}. Create this to connect to
24 * FcpConnection fcpConnection = new FcpConnection();
27 * <h3>The FcpListener Method</h3>
29 * Implement the {@link net.pterodactylus.util.fcp.FcpListener} interface and
30 * handle every incoming event.
33 * public class MyClass implements FcpListener {
35 * public void receivedProtocolError(FcpConnection fcpConnection, ProtocolError protocolError) {
39 * // implement all further methods here
46 package net.pterodactylus.util.fcp;