X-Git-Url: https://git.pterodactylus.net/?p=jFCPlib.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2FFcpListener.java;h=02eeed5d499bcf3d6f5ca4d2dd2da95433c632de;hp=4f0c77a3dc4470778469a1468b88fecbbd509939;hb=b171126719c983b590c51f22eb60a3e0afdf1fb9;hpb=572802370f7dff98b690df85b79e256335e28b33 diff --git a/src/main/java/net/pterodactylus/fcp/FcpListener.java b/src/main/java/net/pterodactylus/fcp/FcpListener.java index 4f0c77a..02eeed5 100644 --- a/src/main/java/net/pterodactylus/fcp/FcpListener.java +++ b/src/main/java/net/pterodactylus/fcp/FcpListener.java @@ -401,9 +401,10 @@ public interface FcpListener extends EventListener { public void receivedProtocolError(FcpConnection fcpConnection, ProtocolError protocolError); /** - * Notifies a listener that a message has been received. This method is only - * called if {@link FcpConnection#handleMessage(FcpMessage)} does not - * recognize the message. Should that ever happen, please file a bug report! + * Notifies a listener that a message has been received. This method is + * only called if {@link FcpConnection#handleMessage(FcpMessage)} does not + * recognize the message. Should that ever happen, please file a bug + * report! * * @param fcpConnection * The connection that received the message @@ -413,15 +414,15 @@ public interface FcpListener extends EventListener { public void receivedMessage(FcpConnection fcpConnection, FcpMessage fcpMessage); /** - * Notifies a listener that a connection was closed. A closed connection can - * be reestablished by calling {@link FcpConnection#connect()} on the same - * object again. + * Notifies a listener that a connection was closed. A closed connection + * can be reestablished by calling {@link FcpConnection#connect()} on the + * same object again. * * @param fcpConnection * The connection that was closed. * @param throwable - * The exception that caused the disconnect, or null - * if there was no exception + * The exception that caused the disconnect, or + * null if there was no exception */ public void connectionClosed(FcpConnection fcpConnection, Throwable throwable);