From: David ‘Bombe’ Roden Date: Sat, 23 May 2009 16:03:15 +0000 (+0200) Subject: Implement request listener interface in core. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=31f3998456da059cb3e60228fbdf290f239504b6;p=jSite2.git Implement request listener interface in core. --- 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 */ + } + }