Class ReceivedFile


  • public class ReceivedFile
    extends Object
    Class that returns received file and
    • Constructor Detail

      • ReceivedFile

        public ReceivedFile​(File f,
                            int status)
        Create new received file handle
        Parameters:
        f - TODO
        status - TODO
    • Method Detail

      • getStatus

        public int getStatus()
        Get status of receive operation
        Returns:
        the status
      • getFile

        public File getFile()
        Get received file
        Returns:
        the file
      • isFailed

        public boolean isFailed()
        Method that checks if error should be generated
        Returns:
        true if file transfer operation has failed