Class ReceiveHandlerRunner


  • public class ReceiveHandlerRunner
    extends java.lang.Object
    • Method Detail

      • runReceiver

        public void runReceiver()
      • shutdownFileVerifier

        public void shutdownFileVerifier()
      • unzipReceivedFiles

        public void unzipReceivedFiles()
      • handleTransferErrors

        public void handleTransferErrors​(java.lang.Exception e)
      • runAllTransfers

        public void runAllTransfers()
                             throws unlimited.core.util.common.exception.FCException,
                                    java.io.IOException,
                                    java.lang.InterruptedException
        Throws:
        unlimited.core.util.common.exception.FCException
        java.io.IOException
        java.lang.InterruptedException
      • runTransferForFile

        public void runTransferForFile​(int fileIndex)
                                throws unlimited.core.util.common.exception.FCException,
                                       java.io.IOException,
                                       java.lang.InterruptedException
        Throws:
        unlimited.core.util.common.exception.FCException
        java.io.IOException
        java.lang.InterruptedException
      • handleMultipleZips

        public void handleMultipleZips()
                                throws unlimited.core.util.common.exception.FCException,
                                       java.io.IOException,
                                       java.lang.InterruptedException
        Throws:
        unlimited.core.util.common.exception.FCException
        java.io.IOException
        java.lang.InterruptedException
      • setTransferStatus

        public void setTransferStatus​(int fileIndex)
      • setSuccessStatusWithVerification

        public void setSuccessStatusWithVerification​(int fileIndex)
      • setErrorStatusForFile

        public void setErrorStatusForFile​(int fileIndex)
      • setCancelledStatusForFile

        public void setCancelledStatusForFile​(int fileIndex)
      • handleErrorRunningTransfer

        public boolean handleErrorRunningTransfer​(java.lang.Exception ex)
      • runFileTransfer

        public void runFileTransfer​(int fileIndex)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • updateCancelledFlag

        public void updateCancelledFlag()
      • startStatusUpdateThread

        public void startStatusUpdateThread()
      • runRetryLoop

        public void runRetryLoop()
      • handleZipInitializationError

        public void handleZipInitializationError​(java.lang.Exception e)
      • initializeZip

        public void initializeZip()
                           throws java.io.IOException,
                                  unlimited.core.util.common.exception.FCException,
                                  java.lang.InterruptedException,
                                  java.lang.CloneNotSupportedException
        Throws:
        java.io.IOException
        unlimited.core.util.common.exception.FCException
        java.lang.InterruptedException
        java.lang.CloneNotSupportedException
      • setInitializingStatus

        public void setInitializingStatus()
      • startFileVerifier

        public void startFileVerifier()
      • initializeStartOfHandlerValues

        public void initializeStartOfHandlerValues()