Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mindbright.sshcommon
Interface SSHFileTransferProgress

All Superinterfaces:
  Progress

All Known Implementing Classes:
  SSHFileTransferGUIThreadAWT, SSHFileTransferGUIThreadSwing, SSHSCPStdoutProgress

public interface SSHFileTransferProgress
extends Progress

Interface for tracking progress when transferring files

Method Summary
`void` | `endDir()` Called when all files in a directory have been transferred
`void` | `endFile()` Called when a file has been successfully transferred
`void` | `startDir(java.lang.String file)` Called when the transfer starts to transfer all files in a directory.
`void` | `startFile(java.lang.String file, long size)` Called when a file starts to transfer

Methods inherited from interface com.mindbright.util.Progress
`progress`

Method Detail

### startFile

    public void startFile(java.lang.String file,
                          long size)

  Called when a file starts to transfer

  Parameters:
    `file` - name of file to transfer
    `size` - file size

### startDir

    public void startDir(java.lang.String file)

  Called when the transfer starts to transfer all files in a directory.

  Parameters:
    `file` - name of directory

### endFile

    public void endFile()

  Called when a file has been successfully transferred

### endDir

    public void endDir()

  Called when all files in a directory have been transferred

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD