incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Hama Wiki] Trivial Update of "Architecture" by FilipeManana
Date Tue, 26 Oct 2010 14:55:37 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hama Wiki" for change notification.

The "Architecture" page has been changed by FilipeManana.
The comment on this change is: As of HAMA-316, we use a peer's name (String) to refer to it
when sending a message (no longer a hostname as an InetSocketAddress)..


        // 1. Do something locally
        // 2. Sends/receives data to/from neighbor nodes
-       bspPeer.send(hostname, msg);
+       bspPeer.send(peerName, msg);
        while ((message = bspPeer.getCurrentMessage()) != null) {
           byte[] data = message.getData();

View raw message