Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Do not work Discovery and Distribution Listeners

Sorry, folks

I ran bundles in wrong sequence. I have run listeners bundle and host
bundle after thay and it works!

Thanks!

Scott Lewis пишет:
> Hi Pavel,
>
> Samolisov Pavel wrote:
>> Hello, All.
>>
>> I have read this article:
>> http://wiki.eclipse.org/Discovery_and_Distribution_Listeners and try
>> IHostDistributionListener and IHostDiscoveryListener services, but I do
>> not understand how they work? I created new bundle and registered these
>> services but they are not called.
>>   
>
> These are only called on the host (not the consumer).  Conversely, the
> IProxy* listeners should/are only called on the consumer and not the
> host.
>
> There is successful test code that uses these listeners in
>
> test class: 
> org.eclipse.ecf.tests.osgi.services.distribution.generic.GenericServiceRegisterListenerTest
>
> CVS module: 
> org.eclipse.ecf/tests/bundles/org.eclipse.ecf.tests.osgi.services.distribution
>
>
>> Do I right understand, what IHost*Listeners must be registered on
>> Consumer JVM?
>>   
>
> No, host listeners are registered with the host vm, proxy listeners
> are registered with the consumer vm.
>
>> May be this stuff for
>> http://wiki.eclipse.org/Getting_Started_with_Using_the_ECF_Remote_Services_API
>>
>> only and shouldn't work with ECF's RFC 119 Example?
>>   
>
> No, it's specifically for the RFC119 remote services.
> Thanks,
>
> Scott
>
>


-- 
Pavel Samolisov

Meet me at:
Vkontakte.ru: http://vkontakte.ru/id3178981
Blog: http://samolisov.blogspot.com
Twitter: http://twitter.com/samolisov
XMPP/Jabber: samolisov@xxxxxxxxx


Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top