summaryrefslogtreecommitdiff
path: root/src/mod_pubsub/nodetree_virtual.erl
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2009-05-19 21:59:15 +0000
committerChristophe Romain <christophe.romain@process-one.net>2009-05-19 21:59:15 +0000
commitdffe80889500a5e0f749cc57289091edacbc208f (patch)
tree21ccb64e3d9c78eb76a603af220fe7f23a43695f /src/mod_pubsub/nodetree_virtual.erl
parentAdded API function to get current S2S connections with information (diff)
PubSub: improve get_entity_* API
SVN Revision: 2090
Diffstat (limited to 'src/mod_pubsub/nodetree_virtual.erl')
-rw-r--r--src/mod_pubsub/nodetree_virtual.erl12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/mod_pubsub/nodetree_virtual.erl b/src/mod_pubsub/nodetree_virtual.erl
index 6913b6e4..05107cb7 100644
--- a/src/mod_pubsub/nodetree_virtual.erl
+++ b/src/mod_pubsub/nodetree_virtual.erl
@@ -26,10 +26,9 @@
%%% @doc The module <strong>{@module}</strong> is the PubSub node tree plugin that
%%% allow virtual nodes handling.
%%% <p>PubSub node tree plugins are using the {@link gen_nodetree} behaviour.</p>
-%%% <p><strong>The API isn't stabilized yet</strong>. The pubsub plugin
-%%% development is still a work in progress. However, the system is already
-%%% useable and useful as is. Please, send us comments, feedback and
-%%% improvements.</p>
+%%% This plugin development is still a work in progress. Due to optimizations in
+%%% mod_pubsub, this plugin can not work anymore without altering functioning.
+%%% Please, send us comments, feedback and improvements.</p>
-module(nodetree_virtual).
-author('christophe.romain@process-one.net').
@@ -83,14 +82,13 @@ options() ->
set_node(_NodeRecord) ->
ok.
-get_node(Host, Node, _From) ->
- get_node(Host, Node).
-
%% @spec (Host, Node) -> pubsubNode()
%% Host = mod_pubsub:host()
%% Node = mod_pubsub:pubsubNode()
%% @doc <p>Virtual node tree does not handle a node database. Any node is considered
%% as existing. Node record contains default values.</p>
+get_node(Host, Node, _From) ->
+ get_node(Host, Node).
get_node(Host, Node) ->
#pubsub_node{nodeid = {Host, Node}}.