博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
父子对等组之间的关系
阅读量:6939 次
发布时间:2019-06-27

本文共 1726 字,大约阅读时间需要 5 分钟。

遇到一个问题:超级结点和边缘结点都加入对等组P
超级结点在对等组P中启动汇聚服务
边缘结点连接到超级结点
此时边缘结点(创建)加入P的子对等组C
问题:超级结点是否有必要也创建或加入对等组C
以保证边缘结点在对等组C中的通信
————————————————————————————————————————————————
PeerInfoService
List<PeerID> getLocalEdgeView()
___________________________________________________________________________
https://www.java.net/node/662222
 

> So it seems like I manage to connect to the jxta-38

> Render-Vous peer, thanks for that.
Correct.
>
> However, I have a question left: a peer can become a
> rendez-vous for a peer group, does it mean that I may
> loose some capacity to reach rendez-vous peers after
> the switch from Edge to Rendez-vous (or even to
> Relay)?
No. RDVs are scoped per peergroup. This means that
if you create a sub-peergroup this group can have
a new set of rendezvous that are indepent of the
NetPeergroup (root peergroup) RDVs. While your
peer connect to the sub-group RDVs, it will remain
connected to the NetPeerGroup RDVs. You can
explore this within the JXTA shell using the
chpgrp command to switch the peergroup context and
check the output of the "rdvstatus" command.

>In other words, if I want to develop an

> application relying on JXTA, should I automatically
> set the configuration of my users to Edge?
For the NetPeergroup you want to be an
edge, for the remaining sub-peergoups you should
let your peer (if you have good connectivity) dynamically
act as a RDV via the auto-RDV election
option.

Hth,

B.

>Will they
> automatically be able to reach any other users for
> their peer groups from behind any firewall and
> proxys? If not what is the solution?
>
> I apologize if this is a basic question, but I could
> not find a definitive answer from the JXTA v2.3.x:
> Java Programmer’s Guide.
>
> Thanks !!!

转载地址:http://drfnl.baihongyu.com/

你可能感兴趣的文章
memcache安装
查看>>
我的第一个DMZ方案实践
查看>>
HTML5--Video
查看>>
UVM中的regmodel建模(三)
查看>>
如何查看LoadRunner虚拟用户(vuser)类型
查看>>
oracle截取字符串区间段的一部分字符串
查看>>
Ubuntu Gnome 14.04.2 lts 折腾笔记
查看>>
前台的js对象数组传到后台处理。在前台把js对象数组转化为json字符串,在后台把json字符串解析为List<>...
查看>>
HTML目录
查看>>
【Hibernate学习笔记-5】@Formula注解的使用
查看>>
java ClassLoader static
查看>>
公司交换机arp 绑定操作
查看>>
东大oj-1511: Caoshen like math
查看>>
在.NET4.5项目中添加HttpClient引用的办法
查看>>
[Android]基于RxJava、RxAndroid的EventBus实现
查看>>
八排序算法
查看>>
.NET/MVC-ViewBag、ViewData、TempData区别
查看>>
Android开发之Bitmap.Config.RGB_565
查看>>
android 实现2张图片层叠效果
查看>>
BI项目记笔记索引
查看>>