Add missing handler interface.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 16 Oct 2014 05:08:11 +0000 (07:08 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 16 Oct 2014 05:08:11 +0000 (07:08 +0200)
src/main/java/net/pterodactylus/irc/connection/Handler.java [new file with mode: 0644]

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 (file)
index 0000000..d4ff63b
--- /dev/null
@@ -0,0 +1,15 @@
+package net.pterodactylus.irc.connection;
+
+import net.pterodactylus.irc.Reply;
+
+/**
+ * Handler for an IRC server reply.
+ *
+ * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
+ */
+public interface Handler {
+
+       boolean willHandle(Reply reply);
+       void handleReply(Reply reply);
+
+}