`
cuizhenfu#gmail.com
  • 浏览: 65994 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

Presence service

阅读更多
http://forums.java.net/jive/thread.jspa?messageID=226543

Using discovery for presence is not a good idea. I was told so also by a JXTA guru that shall remain unnamed ;-)
His recommendation to me which I plan to follow is to simply use a bidipipe connection. that is, keep a list of peers you want to keep track of, let them have a public bidipipe always available and simply connect and disconnect from that pipe at regular intervals. You do not need to implement more than that since a connection to the pipe confirm presence of that peer. No actual communication need to take place.
It may not be pretty but it will get the job done.
Hope it helps.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics