From: David ‘Bombe’ Roden Date: Thu, 16 Oct 2014 05:08:11 +0000 (+0200) Subject: Add missing handler interface. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=771a3d98fc5aa6f466145b2abf06c4a594d885a4;p=xudocci.git Add missing handler interface. --- diff --git a/src/main/java/net/pterodactylus/irc/connection/Handler.java b/src/main/java/net/pterodactylus/irc/connection/Handler.java new file mode 100644 index 0000000..d4ff63b --- /dev/null +++ b/src/main/java/net/pterodactylus/irc/connection/Handler.java @@ -0,0 +1,15 @@ +package net.pterodactylus.irc.connection; + +import net.pterodactylus.irc.Reply; + +/** + * Handler for an IRC server reply. + * + * @author David ‘Bombe’ Roden + */ +public interface Handler { + + boolean willHandle(Reply reply); + void handleReply(Reply reply); + +}