Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Small question about method connect

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks, Remy

Most of ECF's containers has synchronious method "connect" and all tests
  are writed for this thing. I will make synchronious method also, but
this one will be fire events.

Remy Chi Jian Suen пишет:
> Hi Samolisov,
> 
> On Sat, Jan 9, 2010 at 12:34 AM, Samolisov Pavel <samolisov@xxxxxxxxx> wrote:
>> Method IContainer#connect must be synchronous or asynchronous?
> 
> I believe this is up to the implementation. There is no hard
> requirement for this.
> 
>> May be container must generate event when connection has
>> maked? Has ECF any listeners on connection maked?
> 
> Yes, it should fire events. See IContainerEvent and its subinterfaces.
> http://www.eclipse.org/ecf/org.eclipse.ecf.docs/api/org/eclipse/ecf/core/events/IContainerEvent.html
> 
> Regards,
> Remy


- --
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktIlbcACgkQ20T0Vos3rqA4vACdH9jFi9BhE4qzq9zldveS8i/4
T+8AoJ08agPNjCT9g75cBzIDX31KGTrb
=1mH/
-----END PGP SIGNATURE-----


Back to the top