Index: source/ariba/overlay/modules/OverlayInterface.h
===================================================================
--- source/ariba/overlay/modules/OverlayInterface.h	(revision 6198)
+++ source/ariba/overlay/modules/OverlayInterface.h	(revision 6266)
@@ -116,4 +116,14 @@
 	virtual const EndpointDescriptor& resolveNode(const NodeID& node) = 0;
 
+
+	/**
+	 * Returns true if this is the closest node to the given node
+	 * identifier.
+	 *
+	 * @param node The node identifier to compare with
+	 * @return True if this is the closest node to the given node identifier
+	 */
+	virtual bool isClosestNodeTo( const NodeID& node ) = 0;
+
 	/**
 	 * Returns the nodes known to this overlay.
Index: source/ariba/overlay/modules/chord/Chord.cpp
===================================================================
--- source/ariba/overlay/modules/chord/Chord.cpp	(revision 6198)
+++ source/ariba/overlay/modules/chord/Chord.cpp	(revision 6266)
@@ -181,4 +181,9 @@
 	if (item == NULL || item->info.isUnspecified()) return EndpointDescriptor::UNSPECIFIED();
 	return baseoverlay.getEndpointDescriptor(item->info);
+}
+
+/// @see OverlayInterface.h
+bool Chord::isClosestNodeTo( const NodeID& node ) {
+	return table->is_closest_to(node);
 }
 
Index: source/ariba/overlay/modules/chord/Chord.h
===================================================================
--- source/ariba/overlay/modules/chord/Chord.h	(revision 6198)
+++ source/ariba/overlay/modules/chord/Chord.h	(revision 6266)
@@ -123,4 +123,7 @@
 
 	/// @see OverlayInterface.h
+	virtual bool isClosestNodeTo( const NodeID& node );
+
+	/// @see OverlayInterface.h
 	virtual NodeList getKnownNodes(bool deep = true) const;
 
Index: source/ariba/overlay/modules/onehop/OneHop.cpp
===================================================================
--- source/ariba/overlay/modules/onehop/OneHop.cpp	(revision 6198)
+++ source/ariba/overlay/modules/onehop/OneHop.cpp	(revision 6266)
@@ -79,4 +79,11 @@
 }
 
+
+/// @see OverlayInterface.h
+bool OneHop::isClosestNodeTo( const NodeID& node ) {
+	throw "NOT IMPLEMENTED!";
+	return false;
+}
+
 void OneHop::routeMessage(const NodeID& destnode, Message* msg){
 
Index: source/ariba/overlay/modules/onehop/OneHop.h
===================================================================
--- source/ariba/overlay/modules/onehop/OneHop.h	(revision 6198)
+++ source/ariba/overlay/modules/onehop/OneHop.h	(revision 6266)
@@ -81,4 +81,7 @@
 
 	/// @see OverlayInterface.h
+	virtual bool isClosestNodeTo( const NodeID& node );
+
+	/// @see OverlayInterface.h
 	virtual const LinkID& getNextLinkId( const NodeID& id ) const;
 
