'Sets attributes on Python RPC handlers.
See BaseRpcServer in rpcserver.py for details.'

def _AddMethodAttributes(self):

    rpcserver._GetHandlerDecorator(getattr(self.BeginTransaction, '__func__'), BeginTransactionRequest, BeginTransactionResponse, None, 'INTEGRITY')
    rpcserver._GetHandlerDecorator(getattr(self.Rollback, '__func__'), RollbackRequest, RollbackResponse, None, 'INTEGRITY')
    rpcserver._GetHandlerDecorator(getattr(self.Commit, '__func__'), CommitRequest, CommitResponse, None, 'INTEGRITY')
    rpcserver._GetHandlerDecorator(getattr(self.RunQuery, '__func__'), RunQueryRequest, RunQueryResponse, None, 'INTEGRITY')
    rpcserver._GetHandlerDecorator(getattr(self.ContinueQuery, '__func__'), ContinueQueryRequest, ContinueQueryResponse, None, 'INTEGRITY')
    rpcserver._GetHandlerDecorator(getattr(self.Lookup, '__func__'), LookupRequest, LookupResponse, None, 'INTEGRITY')
    rpcserver._GetHandlerDecorator(getattr(self.AllocateIds, '__func__'), AllocateIdsRequest, AllocateIdsResponse, None, 'INTEGRITY')
