From 771a3d98fc5aa6f466145b2abf06c4a594d885a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 16 Oct 2014 07:08:11 +0200 Subject: [PATCH] Add missing handler interface. --- .../java/net/pterodactylus/irc/connection/Handler.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/main/java/net/pterodactylus/irc/connection/Handler.java 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); + +} -- 2.7.4