CVS update: JGroups/doc/design RELAY.txt

"Bela Ban" <[email protected]> Thu, 11 Nov 2010 11:29:28 +0000
Newsgroups gmane.comp.java.javagroups.cvs
Message-ID <[email protected]>
  User: belaban 
  Date: 10/11/11 11:29:28

  Modified:    doc/design RELAY.txt
  Log:
  ns
  
  Revision  Changes    Path
  1.7       +16 -6     JGroups/doc/design/RELAY.txt
  
  Index: RELAY.txt
  ===================================================================
  RCS file: /cvsroot/javagroups/JGroups/doc/design/RELAY.txt,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- RELAY.txt	11 Nov 2010 10:34:23 -0000	1.6
  +++ RELAY.txt	11 Nov 2010 11:29:28 -0000	1.7
  @@ -3,7 +3,7 @@
   ========================================
   
   Author: Bela Ban
  -Version: $Id: RELAY.txt,v 1.6 2010/11/11 10:34:23 belaban Exp $
  +Version: $Id: RELAY.txt,v 1.7 2010/11/11 11:29:28 belaban Exp $
   
   This is an enhanced version of DataCenterReplication.txt with the ability to send unicast messages and to provide views
   to the application, which list members of all local clusters.
  @@ -92,6 +92,14 @@
   Implementation
   --------------
   
  +Becoming coordinator:
  +- Join TCP channel
  +- Register receiver
  +
  +Ceasing to be coordinator:
  +- Leave TCP channel
  +
  +
   RELAY.up(msg):
   - If not coord: pass up and break
   - If RelayHeader present:
  @@ -104,11 +112,13 @@
   
   
   RELAY.down(msg):
  -- If msg is a multicast: pass down, break
  -- If msg.dest is not a ProxyUUID: pass down, break
  -- Create new message M.dst=msg.dst, M.src=self
  -- Add RelayHeader.FORWARD to M
  -- Send M to the current relay (coordinator)
  +- If not coordinator or msg is a multicast or msg.dest is not a ProxyUUID: pass down, break
  +- Create message M from msg (con't copy headers)
  +- Set M.dst=msg.dst.original, M.src=local_addr
  +- Wrap M into a message M2
  +- Add RelayHeader.FORWARD to M2
  +- Send M2 to the current relay (coordinator)
  +- Return // don't pass down !
   
   
   Receive message M from TCP channel:
  
  
  

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev