[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[ecf-dev] Troubles with Datashare over XMPP
|
- From: Samolisov Pavel <samolisov@xxxxxxxxx>
- Date: Wed, 28 Oct 2009 09:24:36 +0500
- Delivered-to: ecf-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=uGlNOBI1lS/gPTvz2Fu+myxeba+SrGEhEZ0Lkmf2T0E=; b=JJzg2Y2BE/rcxFa14u6EqfDZrAeo1HpUEY8vB8BgDVC6hrJg32BH0uLKylnnX2UV+U 0CR1E8Y20R3txRxIghbzI0ecvS3lZLhpuPaU0psL1xG+rSyej9TJ1xLhi0MRCmSWIP2V pNFhIyTvFbjsQg5rLMOZmk2J07VRwmgRRib9Y=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; b=XGrR8otKItX3j0DTPvN6WHs4sT1il2IRnrygwZgUCgqBxW0K3Q7ZfnDTxl4JB7Y7Q4 KjVqrFg1CJ06TM9eiphrYYAbfSuyaNJKBeUioqoShTU5+F35o/iLt+zJhH/HN0WKKUTd a2gCYPZqoRVK0QFePm2cEAXGABqk/nLueW9rQ=
- User-agent: Thunderbird 2.0.0.23 (X11/20091018)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello, folks!
I'm playing with Datashare API over XMPP-container and have some problems.
I create ecf.xmpp.smack container, connect to my jabber account
"samolisov@xxxxx" (connect fine, I watch myself online), create channel
with name "channel"
IChannelContainerAdapter channelContainer = (IChannelContainerAdapter)
_container.getAdapter(IChannelContainerAdapter.class);
channelContainer.createChannel(getNewID(CHANNEL_NAME),
getChannelListener(), null);
Bundle keep run.
Late, I start this bundle with another config: I create ecf.xmpp.smack
container, connect to my jabber account "samolisov@xxxxxxxxx" (connect
fine, I watch myself online) and create channel with name "channel".
And send message over channel to my another account:
IChannel sender = getChannel();
System.out.println("to = " + System.getProperty(XMPP_TO_ID));
sender.sendMessage(IDFactory.getDefault().createID(IDFactory.getDefault().getNamespaceByName(XMPP_NAMESPACE),"samolisov@ya,ru")
,"Hello!".getBytes());
Now are running two bundles with two containers.
But! This data has sended to my container (i.e. container that send this
data: "samolisov@xxxxxxxxx") and do not received by container that I
send this message ("samolisov@xxxxx").
Any ideas?
Thanks.
- --
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/
iEYEARECAAYFAkrnx4QACgkQ20T0Vos3rqBK+gCeNXldYMLZzR/kuwI9BCOkbTJ/
l0AAnA5eLvJwVIe/sBnAg7TWdcuG6eVF
=BQyb
-----END PGP SIGNATURE-----