dimawo.middleware.fileSystem
Interface FileSystemCallBack


public interface FileSystemCallBack


Method Summary
 void addFileCB(DFSException error, String fileUID, File file, FileDescriptor.FileMode mode)
           
 void deleteFilesCB(Pattern p)
          Signals that the file deletion requested through a call to deleteFiles has been completed.
 void getFileCB(DFSException error, String fileUID, File f)
           
 void removeFileCB(DFSException error, String fileUID, File newFile)
           
 void replicateFileCB(ReplicateFileResult res)
           
 

Method Detail

addFileCB

void addFileCB(DFSException error,
               String fileUID,
               File file,
               FileDescriptor.FileMode mode)

deleteFilesCB

void deleteFilesCB(Pattern p)
Signals that the file deletion requested through a call to deleteFiles has been completed.

Parameters:
p - The pattern passed as argument of deleteFiles.
Throws:
InterruptedException

getFileCB

void getFileCB(DFSException error,
               String fileUID,
               File f)

replicateFileCB

void replicateFileCB(ReplicateFileResult res)

removeFileCB

void removeFileCB(DFSException error,
                  String fileUID,
                  File newFile)


Copyright © 2011 DiMaWo Team. All Rights Reserved.