Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只是想知道有没有办法获取已加入 JXTA 中特定对等组的活动或在线(成员)对等点列表?提前致谢。
不,真的。问题在于 P2P 网络中对等点的连接性和可达性是暂时的。您可能获得的任何信息都会随着时间的推移而迅速退化。
如果您想了解已连接的对等点,可以让他们在连接和离开时发送“hello word”和“bye world”消息。但是,这不会涵盖所有情况。有时,如果您在选择的延迟后没有从对等方得到答复,您必须假定它已离线。