Commit 8fc9568d authored by Antoine Millet's avatar Antoine Millet
Browse files

Whitespaces.

parent 3f29a79a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -43,17 +43,20 @@ class CCHandler(RpcHandler):

        return cmd_list


class OnlineCCHandler(CCHandler):

    def on_disconnect(self, connection):
        self._server.unregister(connection)


class HypervisorHandler(OnlineCCHandler):
    '''
    Handler binded to 'node' role.
    '''
    pass


class ClientHandler(OnlineCCHandler):
    '''
    Handler binded to 'cli' role.
@@ -152,6 +155,7 @@ class ClientHandler(OnlineCCHandler):
        client = self._server.get_connection(login)
        return client.connection.call(command, *args, **kwargs)


class WelcomeHandler(CCHandler):
    '''
    Default handler used on client connections of the server.