Thanks for these, Bela.
I'm away until next week, so let's pick up then.
S,
ALR
On 05/26/2010 12:19 PM, Bela Ban wrote:
[1]
http://javagroups.cvs.sourceforge.net/viewvc/javagroups/JGroups/src/org/j...
>> Similarly looks like we just need to resolve these new "placeholders"
>> to appropriate true values. How exactly does this process work (ie,
>> what's
>> the logic to know PUBLIC is x.x.x.x, what context do we need to do this)?
>
> Bela implemented this for JGroups (JGRP-1204). Bela if this is
> encapsulated in a couple classes, can you provide ALR some links? Best
> via
http://javagroups.cvs.sourceforge.net/viewvc/javagroups/JGroups/ as
> I doubt he wants to check out JGroups from cvs.
Yes, this is in [1] around lines 187 - 206. ALR: if you interested in
copying some code from JGroups, just ping me (on #jgroups or skype) and
I can walk you through the impl.
The utility methods are in [2]: getAddress() line 3207
[1]
http://javagroups.cvs.sourceforge.net/viewvc/javagroups/JGroups/src/org/j...
[2]
http://javagroups.cvs.sourceforge.net/viewvc/javagroups/JGroups/src/org/j...
--
Andrew Lee Rubinger
Sr. Software Engineer
JBoss by Red Hat
http://exitcondition.alrubinger.com
http://twitter.com/ALRubinger