hungdluit / flowlib

Automatically exported from code.google.com/p/flowlib
0 stars 0 forks source link

Integration of IShare interface #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I can not use IShare interface because it is not completly realized.
For example hubnmdcprotocol.cs line 360. This is code that handles search 
messages. 
In my case there is no need to iterate through all items in share because 
search can 
be done much faster in SQL (I'm using SQL share)
Next BaseFileList.cs function CreateFilelist() - this function requires 
share object 
to implement ICollection interface. And then it trying to sort content. 
This work 
also can be done by SQL.
My suggestion is to create two virtual functions in Share class(or in 
IShare). First 
is Search and second is GetVirtualList. I have already done this work, you 
can see it 
in my example (when I tried to download all filelists om hub) Both 
functions located 
at document bottom.

Original issue reported on code.google.com by hackw...@gmail.com on 11 Sep 2009 at 1:06

GoogleCodeExporter commented 8 years ago
This issue has been added to todo list.

Original comment by blomman84 on 7 Nov 2009 at 11:08

GoogleCodeExporter commented 8 years ago

Original comment by blomman84 on 7 Nov 2009 at 11:08