[
https://issues.apache.org/jira/browse/FTPSERVER-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dave Roberts updated FTPSERVER-344:
-----------------------------------
Attachment: ftpStatistics.patch
How about: setObserver(), setFileObserver() and resetStatisticsCounters() get
moved from interface ServerFtpStatistics into the super interface FtpStatistics.
Then in FtpServerFactory, we simply have a set & getFtpStatistics() methods
which call the same within the serverContext.
> Allow configuration of FileObserver and StatisticsObserver
> ----------------------------------------------------------
>
> Key: FTPSERVER-344
> URL: https://issues.apache.org/jira/browse/FTPSERVER-344
> Project: FtpServer
> Issue Type: Improvement
> Reporter: Dave Roberts
> Attachments: ftpStatistics.patch
>
>
> Setting this Observers currently involves a lot of casting and use of
> "internal" classes and interfaces.
> These need to be exposed to the public interfaces.
> The simplest idea would seem to be to push the methods up to the
> FtpStatistics interface. However, these are only exposed through the Ftplet
> which are runtime objects, so a better mechanism is required.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.