xflminterface IF_DbCopyStatus : public XF_RefCount


This class represents the database copy status interface. It extends XF_RefCount.  XFLAIM does not provide an implementation of this interface.  It exists to give the application a chance to receive progress reports during a database copy operation.  It is called from within the dbCopy method on the IF_DbSystem interface.


Method Summary

RCODE

 dbCopyStatus - A method to report progress of the database copy operation.

 

Method Detail

dbCopyStatus

    RCODE dbCopyStatus(

        FLMUINT64    ui64BytesToCopy,
        FLMUINT64    ui64BytesCopied,
        FLMBOOL       bNewSrcFile,
        char *                pszSrcFileName,
        char *                pszDestFileName);

This is a method to report progress of the database copy operation (IF_DbSystem::dbCopy).  The dbCopy operation will call this method to report progress.

    Parameters In:

FLMUINT64 ui64BytesToCopy Total bytes to be copied.
FLMUINT64 ui64BytesCopied Total bytes copied so far.
FLMBOOL bNewSrcFile If TRUE, we are starting to copy a new file.  The new file name and the destination file name will be given in the pszSrcFileName and pszDestFileName parameters respectively.  If FALSE, the pszSrcFileName and pszDestFileName parameters should be ignored.
char * pszSrcFileName Gives the name of a new source file name we are starting to copy if the bNewSrcFile parameter is TRUE.
char * pszDestFileName Gives the name of a new destination file name we are starting to copy to if the bNewSrcFile parameter is TRUE.

    Parameters Out: none.

    See Also:

[Back to Top]