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

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

  Modified:    src/org/jgroups/protocols Discovery.java
  Log:
  fixed provided up services
  
  Revision  Changes    Path
  1.77      +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.76
  retrieving revision 1.77
  diff -u -r1.76 -r1.77
  --- Discovery.java	17 Sep 2010 13:26:40 -0000	1.76
  +++ Discovery.java	24 Sep 2010 04:53:37 -0000	1.77
  @@ -39,7 +39,7 @@
    * </ul>
    * 
    * @author Bela Ban
  - * @version $Id: Discovery.java,v 1.76 2010/09/17 13:26:40 belaban Exp $
  + * @version $Id: Discovery.java,v 1.77 2010/09/24 04:53:37 belaban Exp $
    */
   @MBean
   public abstract class Discovery extends Protocol {   
  @@ -155,8 +155,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