'Creates a new IndexOperation.
Args:
rpcserver: The RPC server to use.  Should be an instance of HttpRpcServer
or TestRpcServer.
error_fh: Where to send status and error messages.'

def __init__(self, rpcserver, error_fh=sys.stderr):

    self.rpcserver = rpcserver
    self.error_fh = error_fh
