Re: [jgroups-users] ViewAccept returns a list of UUID addresses...

Questions/problems related to using JGroups <[email protected]>
Newsgroups gmane.comp.java.javagroups.general
Message-ID <[email protected]>
Yes, although why do you want to do this? An address is supposed to be 
opaque and could be changed at any time...

There's a protected field logical_addr_cache in TP which can be fetched 
and queried. There are also methods which access this cache.

The alternative is to use an event sent down from the JChannel, e.g. 
like this:

JChannel ch;
PhysicalAddress pa=(PhysicalAddress)ch.down(new 
Event(Event.Event.GET_PHYSICAL_ADDRESS, ch.getAddress());
// possibly narrow to IpAddress


On 29/05/16 21:04, Questions/problems related to using JGroups wrote:
> Is there a way to get actual address instead of UUID's? Like ip
> address and port? Maybe there's a class somewhere that resolves from
> UUID address to ip addresses?
>
> The docs say "UUIDs maps to IpAddresses, which are IP addresses and
> ports. These are eventually used by the transport protocol to send a
> message." but don't say how to do the conversion.


-- 
Bela Ban, JGroups lead (http://www.jgroups.org)


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.