Class DesprayFromThor

    • Constructor Detail

      • DesprayFromThor

        public DesprayFromThor()
    • Method Detail

      • getTempDirectory

        public java.lang.String getTempDirectory()
        A temporary directory that we will use when despraying.

        default is null which defaults to java.io.tmpdir

      • setTempDirectory

        public void setTempDirectory​(java.lang.String tempDirectory)
        A temporary directory that we will use when despraying.

        default is null which defaults to java.io.tmpdir

      • getDestIpAddress

        public java.lang.String getDestIpAddress()
        Set the destination IP address to despray to.

        If the destination IP address is not specified, then the default dfuplus action is to despray into the configured landing zone (which may not be where the adapter is hosted); ultimately we want the desprayed file to be accessible to the adapter, so if no ip address is configured then InetAddress.getLocalHost() is used; which may be incorrect in multi-homed systems. The adapter will need a running dfuplus action=dafilesrv instance on the machine where the adapter is hosted. Thor will connect to this instance to deliver the files.

      • setDestIpAddress

        public void setDestIpAddress​(java.lang.String destIpAddress)
        Set the destination IP address to despray to.

        If the destination IP address is not specified, then the default dfuplus action is to despray into the configured landing zone (which may not be where the adapter is hosted); ultimately we want the desprayed file to be accessible to the adapter, so if no ip address is configured then InetAddress.getLocalHost() is used; which may be incorrect in multi-homed systems. The adapter will need a running dfuplus action=dafilesrv instance on the machine where the adapter is hosted. Thor will connect to this instance to deliver the files.