Class FtpQueue

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        define serialVersionUID for interoperability
        See Also:
        Constant Field Values
      • logger

        private static final Logger logger
      • DEBUG

        private static final boolean DEBUG
      • clientContext

        private int clientContext
      • requestId

        private int requestId
      • ftpImplName

        private String ftpImplName
    • Constructor Detail

      • FtpQueue

        public FtpQueue()
    • Method Detail

      • setProperties

        public void setProperties​(Properties prop,
                                  boolean firstTime)
                           throws Exception
        Configures a FtpQueue instance.
        Overrides:
        setProperties in class Queue
        Parameters:
        prop - The initial set of properties.
        Throws:
        Exception
      • initialize

        public void initialize​(boolean firstTime)
                        throws Exception
        Initializes the destination.
        Overrides:
        initialize in class Queue
        Parameters:
        firstTime - true when first called by the factory
        Throws:
        Exception
      • react

        public void react​(AgentId from,
                          Notification not)
                   throws Exception
        Description copied from class: Queue
        Distributes the received notifications to the appropriate reactions.
        Overrides:
        react in class Queue
        Parameters:
        from - agent sending notification
        not - notification to react to
        Throws:
        Exception - unspecialized exception
      • ftpNot

        private void ftpNot​(FtpNot not)
      • preProcess

        public ClientMessages preProcess​(AgentId from,
                                         ClientMessages not)
        Description copied from class: Destination
        This method is needed to add processing before the standard handling. It is used in subclass of Queue and Topic. The incoming messages can be modified or deleted during the processing.
        Overrides:
        preProcess in class Destination
        Parameters:
        from - The sender of the message
        not - The incoming messages.
        Returns:
        The incoming messages after processing.
      • isFtpMsg

        protected boolean isFtpMsg​(Message message)