From 31f3998456da059cb3e60228fbdf290f239504b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 23 May 2009 18:03:15 +0200 Subject: [PATCH] Implement request listener interface in core. --- src/net/pterodactylus/jsite/core/CoreImpl.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/net/pterodactylus/jsite/core/CoreImpl.java b/src/net/pterodactylus/jsite/core/CoreImpl.java index 65ea70f..9c00951 100644 --- a/src/net/pterodactylus/jsite/core/CoreImpl.java +++ b/src/net/pterodactylus/jsite/core/CoreImpl.java @@ -34,7 +34,7 @@ import net.pterodactylus.util.logging.Logging; * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ -public class CoreImpl implements Core, NodeListener { +public class CoreImpl implements Core, NodeListener, RequestListener { /** The logger. */ private static final Logger logger = Logging.getLogger(CoreImpl.class.getName()); @@ -320,4 +320,15 @@ public class CoreImpl implements Core, NodeListener { coreListenerSupport.fireNodeDisconnected(node, throwable); } + // + // INTERFACE RequestListener + // + + /** + * {@inheritDoc} + */ + public void requestAdded(Request request) { + /* TODO */ + } + } -- 2.7.4