Menu

#2 RD API bug

open
None
5
2003-09-15
2003-09-10
Xiaodong Li
No

Hi, Chitra,

I found a bug. Since you add P2P stuff in
ResourceDirectory.java, the query function does not
work any more.

I spent some time. finding out that when you return the
query result, some p2p stuff breaks the API.

I just commented them out, and checked modified file
in. If you do update, you will see it. Hope you can fix it.

Xiaodong

Discussion

  • Chitra Nedunchelliyan

    Logged In: YES
    user_id=770163

    hey li,

    What p2p stuff was breaking the code??? I ll check that rite
    away

     
  • Chitra Nedunchelliyan

    Logged In: YES
    user_id=770163

    hey li,

    What p2p stuff was breaking the code??? I ll check that rite
    away

     
  • Chitra Nedunchelliyan

    Logged In: YES
    user_id=770163

    hey li,

    What p2p stuff was breaking the code??? I ll check that rite
    away

     
  • Chitra Nedunchelliyan

    Logged In: YES
    user_id=770163

    Hey Li,

    The networking part is not completed. I am working on a
    separate copy and so .. please dont use :

    public java.lang.Object[] queryResource(java.lang.String uuid,
    java.lang.Object[][] Prop,
    int max,
    java.lang.Object[] resProp)

    Non-p2p queries for a resource and returns the result in an
    array

    Instead of:

    public java.lang.Object[] queryResource(java.lang.String uuid,
    java.lang.Object[][] Prop,
    int max,
    java.lang.Object[] resProp,
    int hopNo)

    P2p queries for a resource and returns the result in an array

    If u use the previous API .. then it is non P2P..

     
  • Chitra Nedunchelliyan

    Logged In: YES
    user_id=770163

    Hey Li,

    The networking part is not completed. I am working on a
    separate copy and so .. please dont use :

    public java.lang.Object[] queryResource(java.lang.String uuid,
    java.lang.Object[][] Prop,
    int max,
    java.lang.Object[] resProp)

    Non-p2p queries for a resource and returns the result in an
    array

    Instead of:

    public java.lang.Object[] queryResource(java.lang.String uuid,
    java.lang.Object[][] Prop,
    int max,
    java.lang.Object[] resProp,
    int hopNo)

    P2p queries for a resource and returns the result in an array

    If u use the previous API .. then it is non P2P..

     
  • Chitra Nedunchelliyan

    • assigned_to: chittu_98 --> victor_lxd
     

Log in to post a comment.

MongoDB Logo MongoDB