Re: [JXTA discuss] CMS ListContentRequest

<[email protected]> Mon, 17 Apr 2006 23:05:29 +0100
Newsgroups gmane.comp.java.jxta.general
Organization Eircom Net (http://www.eircom.net/)
Message-ID <[email protected]>
Hi Mouhannad,
Flushing the advertisment locally will remove it from my cahce but if 10 other peers have searched for content then my advertisement will be in the cache of those 10 remote peers. As long as any peer makes a list request these advertisements will float around the group. When unshared they will lead to failed downloads. There is no way to delete advertisements from another peers cache.
The problem is that ListContentRequest does not actually return the contents of a peers shares list, only the contents of the cache (which may be out of date).
Regards Paul.

Mouhannad Al-Sayegh wrote:
> Hello Paul
>  
> sorry for the delay.. the advertisements are still in the local cache even when you unshare them.
>  
> so the best thing to do is to flush the advertisement when you unshare it.
>  
> so use flushAdvertisement(adv) .. you can find this method in the peer group's discovery service ...
>  
> good luck
>  
> Mouhannad
> (djkofi)
>


-----------------------------------------------------------------
Find the home of your dreams with eircom net property
Sign up for email alerts now http://www.eircom.net/propertyalerts