Commit 890f2e45 authored by Antoine Millet's avatar Antoine Millet

Added "listed" decorator on functions and version handler methods.

parent f0f4311b
......@@ -67,6 +67,7 @@ class CCHandler(RpcHandler):
logging.debug('Called %s.%s', self.__class__.__name__, name)
return super(CCHandler, self).__getitem__(name)
@listed
def functions(self, conn):
'''
Show the list of functions available to the peer.
......@@ -88,6 +89,7 @@ class CCHandler(RpcHandler):
return cmd_list
@listed
def version(self, conn):
'''
Return the current server version.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment