[jgroups-dev] https://jira.jboss.org/browse/JGRP-1240
Bela Ban <[email protected]>
| Newsgroups | gmane.comp.java.javagroups.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm afraid adding a mapping between the logical address of P and its physical address into the logical_addr_cache when P connects to us won't work: this would have to be done at the level of the connection map, and this is not possible as we only know about physical addresses at the level of connection management. So you have to add a header to your connection request which contains the logical address, physical address and logical name (if set). On the receiver side, you'll need to insert this information into the logical_addr_cache of TP, e.g. as follows (see also Discovery.up(), on reception of a discovery response): Address addr; // UUID String logical_name; PhysicalAddress physical_addr; down(new Event(Event.SET_PHYSICAL_ADDRESS, new Tuple<Address,PhysicalAddress>(addr, physical_addr)); if(logical_name != null) UUID.add((UUID)addr, logical_name); -- Bela Ban Lead JGroups / Clustering Team JBoss ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ Javagroups-development mailing list