Skip to content
Snippets Groups Projects
Commit 890f2e45 authored by Antoine Millet's avatar Antoine Millet
Browse files

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

parent f0f4311b
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment