CVS update: JGroups/src/org/jgroups/protocols Discovery.java

"Bela Ban" <[email protected]> Fri, 24 Sep 2010 04:52:35 +0000
Newsgroups gmane.comp.java.javagroups.cvs
Message-ID <[email protected]>
  User: belaban 
  Date: 10/09/24 04:52:35

  Modified:    src/org/jgroups/protocols Tag: Branch_JGroups_2_10
                        Discovery.java
  Log:
  fixed provided up services
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.74.2.1  +5 -3      JGroups/src/org/jgroups/protocols/Discovery.java
  
  Index: Discovery.java
  ===================================================================
  RCS file: /cvsroot/javagroups/JGroups/src/org/jgroups/protocols/Discovery.java,v
  retrieving revision 1.74
  retrieving revision 1.74.2.1
  diff -u -r1.74 -r1.74.2.1
  --- Discovery.java	12 Jul 2010 10:35:25 -0000	1.74
  +++ Discovery.java	24 Sep 2010 04:52:35 -0000	1.74.2.1
  @@ -39,7 +39,7 @@
    * </ul>
    * 
    * @author Bela Ban
  - * @version $Id: Discovery.java,v 1.74 2010/07/12 10:35:25 belaban Exp $
  + * @version $Id: Discovery.java,v 1.74.2.1 2010/09/24 04:52:35 belaban Exp $
    */
   @MBean
   public abstract class Discovery extends Protocol {   
  @@ -146,8 +146,10 @@
   
   
       public Vector<Integer> providedUpServices() {
  -        Vector<Integer> ret=new Vector<Integer>(1);
  -        ret.addElement(new Integer(Event.FIND_INITIAL_MBRS));
  +        Vector<Integer> ret=new Vector<Integer>(3);
  +        ret.addElement(Event.FIND_INITIAL_MBRS);
  +        ret.addElement(Event.FIND_ALL_MBRS);
  +        ret.addElement(Event.GET_PHYSICAL_ADDRESS);
           return ret;
       }
       
  
  
  

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev