Comparison

util/pubsub.lua @ 3879:f67427331d23

util.pubsub: Add service:get_nodes()
author Matthew Wild <mwild1@gmail.com>
date Fri, 17 Dec 2010 13:23:01 +0000
parent 3822:d6028f4eb610
child 3909:c2dc7f7eed94
comparison
equal deleted inserted replaced
3878:c9de91c4173f 3879:f67427331d23
75 return node_obj.data; 75 return node_obj.data;
76 end 76 end
77 end 77 end
78 end 78 end
79 79
80 function service:get_nodes(actor)
81 return true, self.nodes;
82 end
83
80 return _M; 84 return _M;