Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ecf-dev] Event hierarchy confusion and problem

I have the following scenario:

I want to read a file through a local cache. The file is found in the cache but before I use it I want to verify the size and last modified timestamp are equal to those of the remote source (hence by enhancement request: https://bugs.eclipse.org/bugs/show_bug.cgi?id=223207). It almost works but for one little annoying detail. Namely that I'm forced to start the file transfer before I can get to my IIncomingFileTransfer instance.

The IIncomingFileTransferReceiveStart event inherits directly from IFileTransferEvent and not, as I first assumed, from the IIncomingFileTransferEvent. This means that it doesn't have a getSource() method. Is this intentional? If not I already have a patch handy.

Regards,
Thomas Hallgren



Back to the top